Skip to content
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

[NPM ERR!] Could not find file: config/.json #186

Open
ghost opened this issue Aug 27, 2020 · 1 comment
Open

[NPM ERR!] Could not find file: config/.json #186

ghost opened this issue Aug 27, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 27, 2020

After npm install and then running npm run dev, my cli shows an npm ERR!:

Could not find file: config/.json
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] replace_vars: `mustache config/$NODE_ENV.json src/index.html > public/index.html`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] replace_vars script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Other specifics:

  • ATAG-report-tool at commit d97d450
  • MacOs 10.15.3
  • node 12.18.3 (--lts), 13.8.0
@dmundra
Copy link

dmundra commented Nov 9, 2021

I got the same error and from the readme I found the step that is needed:

Before running npm run build or npm run dev, set export NODE_ENV=[environment-name]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant