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

elm-pages develop throws error in v1.2.8 #71

Closed
nnelgxorz opened this issue Feb 13, 2020 · 2 comments · Fixed by #72
Closed

elm-pages develop throws error in v1.2.8 #71

nnelgxorz opened this issue Feb 13, 2020 · 2 comments · Fixed by #72

Comments

@nnelgxorz
Copy link

Hello Dillon!

I saw that you had closed an issue relating to the missing content flash and decided to bump my elm-pages version from 1.2.5 (the version hardcoded into the elm-pages-starter project) to the latest and greatest.

When I ran npm start I got the following error.


elm-pages develop

module.js:550
throw err;
^

Error: Cannot find module '../node-elm-compiler/index.js'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/myproject/node_modules/elm-pages/generator/src/compile-elm.js:1:91)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at Object. (/myproject/node_modules/elm-pages/generator/src/generate-elm-stuff.js:2:16)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Exit status 1


Not a huge problem. I dropped back to 1.2.7 and everything seems to work fine there. Just thought you should have the heads up.

Thank again for all your work!

icidasset added a commit to icidasset/elm-pages that referenced this issue Feb 13, 2020
@dillonkearns
Copy link
Owner

Thank you so much for reporting the issue! Sorry about the inconvenience there.

I released the fix: https://github.com/dillonkearns/elm-pages/blob/master/CHANGELOG-NPM.md#129---2020-02-18

@nnelgxorz
Copy link
Author

Thanks Dillon. The new version works perfectly!

Thanks @icidasset for the quick fix!

icidasset added a commit to icidasset/elm-pages that referenced this issue Mar 10, 2020
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

Successfully merging a pull request may close this issue.

2 participants