question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Anyone having the same issue?

pi@JackPi:~/dasher $ sudo npm run start

dasher@1.4.1 start /home/pi/dasher node app.js

module.js:427 throw err; ^

SyntaxError: /home/pi/dasher/config/config.json: Unexpected string at Object.parse (native) at Object.Module._extensions…json (module.js:424:27) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/home/pi/dasher/app.js:2:14) at Module._compile (module.js:409:26) at Object.Module._extensions…js (module.js:416:10) at Module.load (module.js:343:32)

npm ERR! dasher@1.4.1 start: node app.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the dasher@1.4.1 start script. npm ERR! This is most likely a problem with the dasher package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node app.js npm ERR! You can get their info via: npm ERR! npm owner ls dasher npm ERR! There is likely additional logging output above. npm ERR! System Linux 4.9.80-v7+ npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “run” “start” npm ERR! cwd /home/pi/dasher npm ERR! node -v v4.8.2 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm WARN This failure might be due to the use of legacy binary “node” npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/pi/dasher/npm-debug.log

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
lam560commented, Jul 26, 2018

This project is too old. I found a solution : here is a similar project up to date, very simple to install, fast support and working nice !

(using orange Pi with home assistant)

https://github.com/Nekmo/amazon-dash

0reactions
ChoOo7commented, Jul 26, 2018

+1 ! Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix npm start command not working - Nathan Sebhastian
How to fix npm start command not working · Check if you have a package.json file in your project · Check if you...
Read more >
NPM Start not starting local server - node.js - Stack Overflow
NPM Start not starting local server · 1. Please show the output in the console when you run that command. – Niyoko ·...
Read more >
How to fix npm start command not working - Sabe.io
How to fix npm start command not working · Creating a package.json file · Creating a start script · Disabling ignore-scripts · Conclusion....
Read more >
npm start not working, tried many solves :| #1328 - GitHub
derweili commented on Jan 17, 2019 · Delete the node_modules folder. · Open the package.json · Search for "gulp": "gulpjs/gulp#4.0", and replace it ......
Read more >
How to fix "npm err! missing script: start" - Codedamn
How to fix “npm err! missing script: start” · Run the npm start command in the appropriate directory · Ensuring the presence of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found