- Joined
- Jun 26, 2017
- Messages
- 129
- Reaction score
- 190
I am trying to compile a beta version of reefpi from the Github so I can test out my pH board. I was previously able to compile by own .deb file back before version 1.0. However, I am now running in to the following error when I try to run "make ui-dev" or "make deb"
The log file mentioned shows the following output:
I found the following Stackoverflow link https://stackoverflow.com/questions/30744964/what-does-the-elifecycle-node-js-error-mean but I haven't been able to get reefpi to compile. Any thoughts from those who are more knowledgeable?
Code:
Jeremys-MBP:reef-pi Jeremy$ make ui-dev
npm run ui-dev
> [email protected] ui-dev /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> npm run translations && ./node_modules/.bin/webpack -d --watch
> [email protected] translations /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
> node ./build/translations/csv-json.js
Generating Json resources files from CSV
----------------------------------------
Parsing de.csv
Parsing en.csv
Parsing es.csv
Parsing fa.csv
Parsing fr.csv
Parsing hi.csv
Parsing it.csv
All translations have been successfully generated
/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:265
throw err;
^
Error: EACCES: permission denied, unlink '/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/ui/favicon.ico'
at Object.fs.unlinkSync (fs.js:1061:18)
at rimrafSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:306:17)
at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:342:5
at Array.forEach (<anonymous>)
at rmkidsSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:341:26)
at rmdirSync (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:334:7)
at Function.rimrafSync [as sync] (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/rimraf/rimraf.js:304:9)
at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:166:16
at Array.forEach (<anonymous>)
at CleanWebpackPlugin.clean (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:92:15)
at CleanWebpackPlugin.apply (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/clean-webpack-plugin/index.js:212:20)
at webpack (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack/lib/webpack.js:37:12)
at processOptions (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:256:16)
at yargs.parse (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:373:3)
at Object.parse (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/yargs/yargs.js:567:18)
at /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:49:8
at Object.<anonymous> (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack-cli/bin/cli.js:375:3)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/webpack/bin/webpack.js:163:2)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] ui-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Volumes/HDD/Users/Jeremy/.npm/_logs/2019-05-15T22_19_34_413Z-debug.log
make: *** [ui-dev] Error 1
The log file mentioned shows the following output:
Code:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'ui-dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preui-dev', 'ui-dev', 'postui-dev' ]
5 info lifecycle [email protected]~preui-dev: [email protected]
6 info lifecycle [email protected]~ui-dev: [email protected]
7 verbose lifecycle [email protected]~ui-dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~ui-dev: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi/node_modules/.bin:/Volumes/HDD/Users/Jeremy/.rbenv/shims:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/go/bin:/Volumes/HDD/Users/Jeremy/go/bin:/Volumes/HDD/Users/Jeremy/gospace/bin:/bin
9 verbose lifecycle [email protected]~ui-dev: CWD: /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
10 silly lifecycle [email protected]~ui-dev: Args: [ '-c',
10 silly lifecycle 'npm run translations && ./node_modules/.bin/webpack -d --watch' ]
11 silly lifecycle [email protected]~ui-dev: Returned: code: 1 signal: null
12 info lifecycle [email protected]~ui-dev: Failed to exec ui-dev script
13 verbose stack Error: [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid [email protected]
15 verbose cwd /Volumes/HDD/Users/Jeremy/gospace/src/new/github.com/reef-pi/reef-pi
16 verbose Darwin 15.6.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "ui-dev"
18 verbose node v8.9.3
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] ui-dev: `npm run translations && ./node_modules/.bin/webpack -d --watch`
22 error Exit status 1
23 error Failed at the [email protected] ui-dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I found the following Stackoverflow link https://stackoverflow.com/questions/30744964/what-does-the-elifecycle-node-js-error-mean but I haven't been able to get reefpi to compile. Any thoughts from those who are more knowledgeable?