Windows 10 does not see .quasar.env.json file #9972
Unanswered
ayazici-vekend
asked this question in
CLI - Electron mode
Replies: 1 comment 4 replies
-
@ayazici-vekend Try changing your package.json look like:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was working on linux before and my project was working fine, and it still does. I switched to Windows10 later on, but now Windows does not see my env file and when i run the app with the command "yarn dev" it gives the error:
yarn run v1.22.10
$ QENV=development quasar dev
'QENV' is not recognized as an internal or external command,
operable program or batch file.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
.quasar.env.json file:
{ "development": { "ENV_TYPE": "Running Development", "ENV_DEV": "Development" }, "production": { "ENV_TYPE": "Running Production", "ENV_PROD": "Production" }, "test": { "ENV_TYPE": "Running Test", "ENV_Test": "Test" } }
package.json file:
{ "scripts": { "dev": "QENV=development quasar dev" }, "dependencies": { "@quasar/extras": "^1.0.0", "quasar": "^1.0.0" }, "devDependencies": { "@quasar/app": "^2.0.0", "@quasar/quasar-app-extension-qenv": "^1.0.3" }, "engines": { "node": ">= 10.18.1", "npm": ">= 6.13.4", "yarn": ">= 1.21.1" } }
REMINDER: Works perfectly on linux, but gives the upper error in windows 10
Beta Was this translation helpful? Give feedback.
All reactions