-
Notifications
You must be signed in to change notification settings - Fork 939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn run dev is not working #1330
Comments
If you are a Windows user Worked perfectly to me, cheers. |
Yeah, FTW templates are mainly made for Unix-like operating systems, since most host services are on top of Linux or something similar. "export" works in those environments to set environment variables, whereas DOS would need "set". So, you should be able to get node app working by making the suggested change. However, I strongly recommend that you install Windows Subsystem for Linux. For example, our documentation also assumes Unix-like commands instead of DOS commands. Anyway, I'll add a ticket to our system that we should add a note about this issue to our repos. |
We decided to settle with adding an extra note to README.md. |
it worked for me |
make sure that package.json is in your root directory , dont make a separate folder , if already made only ,open the folder which has package.json as a file , in your vs code and then try again!! |
D:\ftw-daily>yarn run dev
yarn run v1.22.4
$ yarn run config-check&&export NODE_ENV=development REACT_APP_DEV_API_SERVER_PORT=3500&&concurrently --kill-others "yarn run dev-frontend" "yarn run dev-backend"
$ node scripts/config.js --check
'export' 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.
D:\ftw-daily>yarn run dev
The text was updated successfully, but these errors were encountered: