johnpapa / johnpapa/pwa-angular
Error in Windows: An asset cannot be written to a location outside of the output path.
- Dominant language
- TypeScript
- Stars
- 204
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
Getting error while running the app on Windows 10.
OS: Windows 10
Steps:
* git clone the repo
* npm i
* npm start
Output:
An asset cannot be written to a location outside of the output path.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! pwa-angular@0.0.0 start: `ng build --prod && npm run generate-sw && cd dist && node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the pwa-angular@0.0.0 start script 'ng build --prod && npm run generate-sw && cd dist && node index.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the pwa-angular package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng build --prod && npm run generate-sw && cd dist && node index.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs pwa-angular
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls pwa-angular
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Code\pwa-angular\npm-debug.log
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.