question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated app not starting with node@7.6.0 and npm@5.0.3

See original GitHub issue

How 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:

screen shot 2017-06-05 at 7 46 01 pm

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

screen shot 2017-06-05 at 7 53 11 pm

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 donejs
  • donejs add app pwa-test
  • cd-pwa-test
  • donejs 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:closed
  • Created 6 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
andrejewskicommented, Jun 29, 2017

@frank-dspeed No, the fix for donejs will be released as DoneJS v1.0.1. At which point people can update using npm install -g donejs and this issue can be closed.

0reactions
frank-dspeedcommented, Jun 29, 2017

@andrejewski so you mean

npm install -g donejs@^1.0.1
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found