I am trying to modify the device listing page using this tutorial

https://github.com/zaidka/genieacs/wiki/Tutorial---Modifying-'listing-device'-page-and-adding-Aliasses

It is all simple enough until I get to the step "npm run compile".

I receive the following error

admin@ip-172-31-0-251:/opt/genieacs$ sudo npm run compile

> [email protected]<mailto:[email protected]> compile /opt/genieacs
> coffee -cb lib/*.coffee test/*.coffee tools/*.coffee

File not found: /opt/genieacs/lib/*.coffee

npm ERR! Linux 3.16.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "compile"
npm ERR! node v0.12.17
npm ERR! npm  v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! [email protected]<mailto:[email protected]> compile: `coffee -cb 
lib/*.coffee test/*.coffee tools/*.coffee`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected]<mailto:[email protected]> compile script 
'coffee -cb lib/*.coffee test/*.coffee tools/*.coffee'.
npm ERR! This is most likely a problem with the genieacs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     coffee -cb lib/*.coffee test/*.coffee tools/*.coffee
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs genieacs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR!     npm owner ls genieacs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /opt/genieacs/npm-debug.log

npm-debug.log output

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'compile' ]
2 info using [email protected]<mailto:[email protected]>
3 info using [email protected]<mailto:[email protected]>
4 verbose run-script [ 'precompile', 'compile', 'postcompile' ]
5 info precompile [email protected]<mailto:[email protected]>
6 info compile [email protected]<mailto:[email protected]>
7 verbose unsafe-perm in lifecycle true
8 info [email protected]<mailto:[email protected]> Failed to exec compile script
9 verbose stack Error: [email protected]<mailto:[email protected]> compile: `coffee 
-cb lib/*.coffee test/*.coffee tools/*.coffee`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> 
(/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at EventEmitter.emit (events.js:110:17)
9 verbose stack     at ChildProcess.<anonymous> 
(/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at ChildProcess.emit (events.js:110:17)
9 verbose stack     at maybeClose (child_process.js:1019:16)
9 verbose stack     at Process.ChildProcess._handle.onexit 
(child_process.js:1091:5)
10 verbose pkgid [email protected]<mailto:[email protected]>
11 verbose cwd /opt/genieacs
12 error Linux 3.16.0-4-amd64
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "compile"
14 error node v0.12.17
15 error npm  v2.15.1
16 error code ELIFECYCLE
17 error [email protected]<mailto:[email protected]> compile: `coffee -cb 
lib/*.coffee test/*.coffee tools/*.coffee`
17 error Exit status 1
18 error Failed at the [email protected]<mailto:[email protected]> compile script 
'coffee -cb lib/*.coffee test/*.coffee tools/*.coffee'.
18 error This is most likely a problem with the genieacs package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     coffee -cb lib/*.coffee test/*.coffee tools/*.coffee
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs genieacs
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls genieacs
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

Thank you

_______________________________________________
Users mailing list
[email protected]
http://lists.genieacs.com/mailman/listinfo/users

Reply via email to