qistoph / MMM-nstreinen

MagicMirror² module to show Dutch train information
12 stars 4 forks source link

Errors running npm install from nstreinen directory #4

Closed jwmaas closed 6 years ago

jwmaas commented 6 years ago

When running npm install I get an error on the deprecated coffee-script@1.10.0. Then the installation quits.

I deleted the nstreinen directory, downloaded the module and the npm install again. I get another error message that failed to parse package.json data. I am to inform the package author to fix his package.json file JSON.parse.

Error log is attached. npm-debug.log

jwmaas commented 6 years ago

Module works despite above error messages with following fixes: Install dependencies with sudo: $ cd nstreinen $ sudo npm install

Then install coffeescript and jsonlint@1.6.2 manually with -g parameter: $ sudo npm install --global coffeescript -g # please note there is no dash in "coffeescript" $ sudo npm install jsonlint -g

Fixed it for me, despite still receiving error messages on the provided json script, see above nom-debug.log file. Enjoy