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

missing dependency on semver #10

Closed
nphollon opened this issue Nov 14, 2016 · 1 comment
Closed

missing dependency on semver #10

nphollon opened this issue Nov 14, 2016 · 1 comment

Comments

@nphollon
Copy link

Trying to run elm-upgrade gave me this error message:

elm-upgrade
module.js:471
    throw err;
    ^

Error: Cannot find module 'semver'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/nick/npm_packages/lib/node_modules/elm-upgrade/upgrade.js:6:14)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)

Error went away after I ran npm install -g semver.

I see that semver is a dev dependency. Maybe that needs to be changed to a regular ol' dependency?

@avh4
Copy link
Owner

avh4 commented Nov 14, 2016

Fixed in elm-upgrade 0.18.4. Thanks!

@avh4 avh4 closed this as completed Nov 14, 2016
avh4 added a commit that referenced this issue Sep 3, 2018
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

2 participants