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

  1. node -v:v10.15.2
  2. npm -v:5.8.0
  3. npm ls create-elm-app -g (if you haven’t ejected): /usr/local/lib └── create-elm-app@4.2.11

Then, specify:

  1. Operating system: Debian 10 Buster

Steps to Reproduce

  1. On debian stable
  2. install nodejs and npm package
  3. npm install -g create-elm-app
  4. create-elm-app mytest

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

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.