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

Unable to run "Make your own build" due to npm dependency error #1331

Closed
jasonshah opened this issue Oct 12, 2016 · 3 comments
Closed

Unable to run "Make your own build" due to npm dependency error #1331

jasonshah opened this issue Oct 12, 2016 · 3 comments

Comments

@jasonshah
Copy link

Hi,
I am attempting to follow the "Make your own build" section to build from source.
When I run npm install, it fails with:

$ npm install
npm WARN package.json caravel@0.11.0 No README data
npm WARN package.json Dependency 'style-loader' exists in both dependencies and devDependencies, using 'style-loader@^0.13.0' from dependencies
npm WARN deprecated babel@6.5.2: Babel's CLI commands have been moved from the babel package to the babel-cli package
npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/Cellar/node/4.2.1/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v4.2.1
npm ERR! npm  v2.14.7
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: victory@'>=0.12.1 <0.13.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["0.0.1","0.0.2","0.0.3","0.0.4","0.1.0","0.1.1","0.1.2","0.1.3","0.2.0","0.3.0","0.4.0","0.4.1","0.4.2","0.5.0","0.5.1","0.6.0","0.6.1"]
npm ERR! notarget 
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget 
npm ERR! notarget It was specified as a dependency of 'caravel'
npm ERR! notarget 

npm ERR! Please include the following file with any support request:

And my npm-debug.log is attached.

npm-debug.log

@prokh
Copy link
Contributor

prokh commented Oct 13, 2016

You could first try to update npm and node: "It works with node v6.6.0 and npm v3.10.8. You can install the node module n with npm. Then update node with n and npm with npm install npm@latest -g. "

@xrmx
Copy link
Contributor

xrmx commented Oct 13, 2016

@jasonshah could you please try to remove node_modules and try again?

@jasonshah
Copy link
Author

@prokh 's solution worked for this issue. Unfortunately I don't know how to actually run the server now that it's built. :/

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

3 participants