Skip to content

Instantly share code, notes, and snippets.

@dasl-
Created July 15, 2019 03:17
Show Gist options
  • Save dasl-/8c5fc304e9a813a59f28ddf60822f091 to your computer and use it in GitHub Desktop.
Save dasl-/8c5fc304e9a813a59f28ddf60822f091 to your computer and use it in GitHub Desktop.
pi@raspberrypi:~/lightness $ sudo npm run build --prefix /home/pi/lightness/app
(node:20378) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm ERR! Error: ENOENT: no such file or directory, open '/home/pi/lightness/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 4.19.56-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "run" "build" "--prefix" "/home/pi/lightness/app"
npm ERR! cwd /home/pi/lightness
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! path /home/pi/lightness/package.json
npm ERR! syscall open
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/lightness/npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment