Generated app not starting with node@7.6.0 and npm@5.0.3
See original GitHub issueHow often can you reproduce it?
- Always
- Sometimes
- Rarely
- Unable
- I didn’t try
After creating an application with donejs add app pwa-test, when I open the root directory and run donejs develop, I get the following error:

I see that done-serve is in the package.json dependencies, but it’s not getting installed into node_modules/.bin:

Maybe this is an npm bug. I’m using npm@5.0.3 with node@7.6.0.
Steps to reproduce:
npm install -g npm donejsdonejs add app pwa-testcd-pwa-testdonejs develop
Expected results:
The app should start without a problem.
Actual results:
The above error is thrown.
Environment:
| Software | Version |
|---|---|
| donejs -V | 1.0.0 |
| node -v | 7.6.0 |
| npm -v | 5.0.3 |
| Operating system | macOS 10.12.5 |
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
I created a app using create-react-app but I am not able to ...
I created a app using create-react-app but I am not able to launch it by "npm start" · node.js · reactjs · npm...
Read more >npm5: prepublish runs for npm install · Issue #16685 - GitHub
I have tried prepublishOnly with Node 7 (latest) and it didn't work right (dist generated by prepublishOnly never gets packed and sent to...
Read more >Changelog - npm Docs
Documentation for the npm registry, website, and command-line interface.
Read more >nativescript/CHANGELOG.md - UNPKG
196, * [Fixed #4373](https://github.com/NativeScript/nativescript-cli/issues/4373): `tns test` throws an error in newly created apps.
Read more >rh-nodejs8-npm-5.3.0-8.6.0.1.el7.x86_64.rpm
/opt/rh/rh-nodejs8/root/usr/lib/node_modules/npm/lib/start.js ... /node_modules/npm/node_modules.bundled/node-gyp/node_modules/nopt/examples/my-program.js.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@frank-dspeed No, the fix for
donejswill be released as DoneJS v1.0.1. At which point people can update usingnpm install -g donejsand this issue can be closed.@andrejewski so you mean