swarthout / feathers-apollo

Feathers and Apollo Server Sample Project
MIT License
176 stars 20 forks source link

Failed at the feathers-apollo@0.0.0 start script 'babel-node src #5

Closed bashfulrobot closed 5 years ago

bashfulrobot commented 8 years ago

npm-debug.log.txt

I'm getting errors at startup indicating:

npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the feathers-apollo@0.0.0 start script 'babel-node src/'. 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 feathers-apollo package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! babel-node src/

I'm just trying to run the repo code...

swarthout commented 8 years ago

Did you npm install before running the server?

bashfulrobot commented 8 years ago

Definitely. And no errors on completion.

swarthout commented 8 years ago

Hmm I looked over the package.json and nothing jumped out at me, but can you just run npm install babel-cli? I'm wondering of it is not installing the dev dependencies.

swarthout commented 8 years ago

Also running npm install - - dev might help

advanwinkel commented 8 years ago

Are you running an old node version? When I try to run this application on node 4.2.2 I get the same errors. Try node 5.12

bashfulrobot commented 8 years ago

@swarthout - I'll try doing the direct install when at the computer.

@advanwinkel - node 6 is installed.

advanwinkel commented 8 years ago

Running node 6.3.1 I had also these errors. It appears the problem is in module bcrypt. This module seems very particular about the node version. I solved it by deleting this module an running npm install again.