Modify device listing page

Eric Whalen ewhalen at xtremeinternet.biz
Sat Oct 14 17:07:50 EDT 2017


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 at ip-172-31-0-251:/opt/genieacs$ sudo npm run compile

> genieacs at 1.0.7<mailto:genieacs at 1.0.7> 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! genieacs at 1.0.7<mailto:genieacs at 1.0.7> compile: `coffee -cb lib/*.coffee test/*.coffee tools/*.coffee`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the genieacs at 1.0.7<mailto:genieacs at 1.0.7> 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 npm at 2.15.1<mailto:npm at 2.15.1>
3 info using node at v0.12.17<mailto:node at v0.12.17>
4 verbose run-script [ 'precompile', 'compile', 'postcompile' ]
5 info precompile genieacs at 1.0.7<mailto:genieacs at 1.0.7>
6 info compile genieacs at 1.0.7<mailto:genieacs at 1.0.7>
7 verbose unsafe-perm in lifecycle true
8 info genieacs at 1.0.7<mailto:genieacs at 1.0.7> Failed to exec compile script
9 verbose stack Error: genieacs at 1.0.7<mailto:genieacs at 1.0.7> 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 genieacs at 1.0.7<mailto:genieacs at 1.0.7>
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 genieacs at 1.0.7<mailto:genieacs at 1.0.7> compile: `coffee -cb lib/*.coffee test/*.coffee tools/*.coffee`
17 error Exit status 1
18 error Failed at the genieacs at 1.0.7<mailto:genieacs at 1.0.7> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genieacs.com/pipermail/users/attachments/20171014/5b54793c/attachment.html>


More information about the Users mailing list