-
Notifications
You must be signed in to change notification settings - Fork 836
frontend model npm install error #2
Comments
Hey, @FRANDAVID . Have you tried installing Konga with node js version other that v7.1.0? |
hi, @pantsel thanks you reply, i have change the package.json update bower version ->1.8.0 so the error gone and frotend model running,with some warnings, look like: ⚠ 1 warning src/app/core/plugins/angular-matchheight.js ✖ 1 error src/app/core/plugins/material.spinner.js ✖ 6 errors src/app/core/plugins/uiBreadcrumbs.js ✖ 1 error ⚠ 0 warning src/app/core/services/DialogService.js ⚠ 10 warnings now i'm installing the backend model .i don't know whether is right way to solve the problem. |
i have another question that ,can i run frotend model without backend model? i just want to have a look at frontend model UI design!! |
@FRANDAVID The warnings are due to the linter running on dev mode. Don't be alarmed by them. I'm in the process of refactoring. Unfortunatelly no, the backend is required to be lifted because it handles the API |
@pantsel thanks i am new to node.js and kong ,now i'm installing the backend model .i don't know whether change the bower version is right way to solve the problem. sorry for my poor English! :) |
The issue is confirmed to occur with node.js v0.7.10 and bower v1.6.5 > kongadmin@0.2.3 install /home/travis/build/pantsel/konga > cd frontend && npm install && cd ../backend && npm install > frontend@0.1.1 postinstall /home/travis/build/pantsel/konga/frontend > bower install module.js:474 throw err; ^ Error: Cannot find module 'internal/fs' at Function.Module._resolveFilename (module.js:472:15) at Function.Module._load (module.js:420:25) at Module.require (module.js:500:17) at require (internal/module.js:20:19) at evalmachine.:17:20 at Object. (/home/travis/build/pantsel/konga/frontend/node_modules/bower/node_modules/graceful-fs/fs.js:11:1) at Module._compile (module.js:573:32) at Object.Module._extensions..js (module.js:582:10) at Module.load (module.js:490:32) at tryModuleLoad (module.js:449:12) npm ERR! Linux 4.4.0-47-generic npm ERR! argv "/home/travis/.nvm/versions/node/v7.1.0/bin/node" "/home/travis/.nvm/versions/node/v7.1.0/bin/npm" "install" npm ERR! node v7.1.0 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! frontend@0.1.1 postinstall: `bower install` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the frontend@0.1.1 postinstall script 'bower install'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR!0m If you do, this is most likely a problem with the frontend package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! bower install npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs frontend npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls frontend npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/travis/build/pantsel/konga/frontend/npm-debug.log npm ERR! Linux 4.4.0-47-generic npm ERR! argv "/home/travis/.nvm/versions/node/v7.1.0/bin/node" "/home/travis/.nvm/versions/node/v7.1.0/bin/npm" "install" npm ERR! node v7.1.0 npm ERR! npm v3.10.9 npm ERR! code ELIFECYCLE npm ERR! kongadmin@0.2.3 install: `cd frontend && npm install && cd ../backend && npm install` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the kongadmin@0.2.3 install script 'cd frontend && npm install && cd ../backend && npm install'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the kongadmin package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! cd frontend && npm install && cd ../backend && npm install npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs kongadmin npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls kongadmin npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request: npm ERR! /home/travis/build/pantsel/konga/npm-debug.log The command "eval npm install " failed 3 times. The command "npm install " failed and exited with 1 during . Your build has been stopped. Updated bower version to ^1.8.0 and the problem seems to be resolved. Also added node.js LTS and Current versions (v7.1.10) to travis.yml file. Thanks for the feedback @FRANDAVID :) |
hi,@pantsel i have download konga-0.2.1 and follow the install step ,when i installed all dependencies and run npm install in ~/konga-0.2.1 i got some errors:
npm install
module.js:474
throw err;
^
Error: Cannot find module 'internal/fs'
at Function.Module._resolveFilename (module.js:472:15)
at Function.Module._load (module.js:420:25)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at evalmachine.:17:20
at Object. (/Users/{user}/tmp/konga-0.2.1/frontend/node_modules/bower/node_modules/graceful-fs/fs.js:11:1)
at Module._compile (module.js:573:32)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v7.1.0
npm ERR! npm v4.0.2
npm ERR! code ELIFECYCLE
npm ERR! frontend@0.1.1 postinstall:
bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the frontend@0.1.1 postinstall script 'bower install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the frontend package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs frontend
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls frontend
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/{user}/tmp/konga-0.2.1/frontend/npm-debug.log
npm ERR! Darwin 16.1.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v7.1.0
npm ERR! npm v4.0.2
npm ERR! code ELIFECYCLE
npm ERR! kongadmin@0.2.1 install:
cd frontend && npm install && cd ../backend && npm install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the kongadmin@0.2.1 install script 'cd frontend && npm install && cd ../backend && npm install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the kongadmin package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd frontend && npm install && cd ../backend && npm install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs kongadmin
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls kongadmin
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/{user}/tmp/konga-0.2.1/npm-debug.log
my environment is
node -v
v7.1.0
npm -v
4.0.2
The text was updated successfully, but these errors were encountered: