create-elm-app: Failed to install elm packages (on debian stable)
Bug
after installing create-elm-app with npm
running (as user of root)
$ create-elm-app mijn-portofolie
Creating mijn-portofolie project...
Failed to install elm packages
Please, make sure you have internet connection!
In case if you are running Unix OS, you might look in to this issue:
https://github.com/halfzebra/create-elm-app/issues/10
So there is a reference to issue 10, all elm npm packages are installed globally
Environment
Packages are installed from debian stable if available, otherwise from npm
node -v
:v10.15.2npm -v
:5.8.0npm ls create-elm-app -g
(if you haven’t ejected): /usr/local/lib └── create-elm-app@4.2.11
Then, specify:
- Operating system: Debian 10 Buster
Steps to Reproduce
- On debian stable
- install nodejs and npm package
- npm install -g create-elm-app
- create-elm-app mytest
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 15 (1 by maintainers)
I think the problem was that install.js script for npm installation elm didin’t finish successfully so create-elm-app was calling into existing nodejs wrapper but this wrapper was unable to call the binary of compiler.