Nuxt/ui pro licence doesnt work
Hey, I purchased a Nuxt UI Pro license about 30 minutes ago and accepted the invite. I'm now trying to build my project using NuxtHub, but I'm getting an error saying
Purchase Nuxt UI Pro at https://ui.nuxt.com/pro/pricing to build your app in production
.
I've already added the NUXT_UI_PRO_LICENSE=<my-code> to the environment variables in NuxtHub, but the error still persists. What could be wrong?
Thanks!3 Replies
Hi @fl5. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It sounds like you’ve followed the correct steps by purchasing a Nuxt UI Pro license, accepting the GitHub invite, and setting the
Make sure the
The license key must be available during the build process, not just at runtime. Ensure that the environment variable is set for the build environment in NuxtHub, not just for preview or development. 3. License Activation:
After purchasing, you should have received an email with your license key and an invitation to the private GitHub repository. You must activate your license by entering your license key and GitHub username at the activation page. This step is required for production builds and to get access to the private repository. If you haven’t done this, please activate your license now Activate my license Getting-started > License. 4. Never Commit the License Key:
Ensure you have not accidentally committed your license key to a public repository, as this can cause issues and expose your key. 5. Propagation Delay:
Sometimes, there may be a short delay after activation before the license is recognized by the build system. Waiting a few more minutes and then retrying the build can help. 6. Correct Module Installation:
Confirm that you are using the
NUXT_UI_PRO_LICENSE
environment variable in NuxtHub. However, since you’re still seeing the error, here are a few things to check based on the official documentation:
1. License Key Placement:Make sure the
NUXT_UI_PRO_LICENSE
environment variable is set correctly in your NuxtHub project’s environment variables. Double-check for any typos or extra spaces in the variable name or value.
2. Build Environment:The license key must be available during the build process, not just at runtime. Ensure that the environment variable is set for the build environment in NuxtHub, not just for preview or development. 3. License Activation:
After purchasing, you should have received an email with your license key and an invitation to the private GitHub repository. You must activate your license by entering your license key and GitHub username at the activation page. This step is required for production builds and to get access to the private repository. If you haven’t done this, please activate your license now Activate my license Getting-started > License. 4. Never Commit the License Key:
Ensure you have not accidentally committed your license key to a public repository, as this can cause issues and expose your key. 5. Propagation Delay:
Sometimes, there may be a short delay after activation before the license is recognized by the build system. Waiting a few more minutes and then retrying the build can help. 6. Correct Module Installation:
Confirm that you are using the
@nuxt/ui-pro
module in your nuxt.config.ts
and not just @nuxt/ui
. The Pro module automatically includes the free version, so you only need to list @nuxt/ui-pro
:
Installation > Pro
If you have checked all of the above and the issue persists, it may be a problem with license propagation or a configuration issue specific to NuxtHub. In that case, try:
- Redeploying your project after double-checking the environment variable.
- Contacting Nuxt UI Pro support with your license details for further assistance.
Let me know if you need more help!
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------<@1345325733882630154> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
so i instead built through cli and it works