You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed the package and it works perfectly in a cloud environment (where the env-var is populated). It doesn't work locally when I haven't set an .env file using the dotenv package and require the config at the first line of nuxt.config.js. If I locally just use the default option in the nuxt-env module, it results in a memory leak when trying to browse the served url.
I assume this is a bug since why else would there be an option to default the var when you have to include it with an .env file (or inline in the NPM script) anyway? 😄
If you need more info or have any more questions let me know 😉I didn't have the time to look in the code of nuxt-env to make a PR so no clue what could be the source of this problem.
The text was updated successfully, but these errors were encountered:
Hello,
I've installed the package and it works perfectly in a cloud environment (where the env-var is populated). It doesn't work locally when I haven't set an
.env
file using thedotenv
package and require the config at the first line ofnuxt.config.js
. If I locally just use the default option in thenuxt-env
module, it results in a memory leak when trying to browse the served url.I assume this is a bug since why else would there be an option to default the var when you have to include it with an .env file (or inline in the NPM script) anyway? 😄
If you need more info or have any more questions let me know 😉I didn't have the time to look in the code of
nuxt-env
to make a PR so no clue what could be the source of this problem.The text was updated successfully, but these errors were encountered: