Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npm install codebox@0.4.7" #147

Closed
bikerd opened this issue Jan 17, 2014 · 3 comments
Closed

"npm install codebox@0.4.7" #147

bikerd opened this issue Jan 17, 2014 · 3 comments

Comments

@bikerd
Copy link

bikerd commented Jan 17, 2014

hi,

breaking this out from issue #144 since that issue was closed before hitting this

install output below, and npm-debug.log available at https://gist.github.com/bikerd/8467301

please let me know if more info is needed

thank you

npm http GET https://registry.npmjs.org/codebox/0.4.7
npm http 200 https://registry.npmjs.org/codebox/0.4.7
npm http GET https://registry.npmjs.org/codebox/-/codebox-0.4.7.tgz
npm http 404 https://registry.npmjs.org/codebox/-/codebox-0.4.7.tgz
npm ERR! fetch failed https://registry.npmjs.org/codebox/-/codebox-0.4.7.tgz
npm ERR! Error: 404 Not Found
npm ERR! at WriteStream. (/usr/local/lib/node_modules/npm/lib/utils/fetch.js:57:12)
npm ERR! at WriteStream.EventEmitter.emit (events.js:117:20)
npm ERR! at fs.js:1596:14
npm ERR! at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:103:5
npm ERR! at Object.oncomplete (fs.js:107:15)
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/isaacs/npm/issues

npm ERR! System Linux 2.6.32-042stab083.2
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "codebox@0.4.7"
npm ERR! cwd /usr/local/lib
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/local/lib/npm-debug.log
npm ERR! not ok code 0

@AaronO
Copy link
Contributor

AaronO commented Jan 17, 2014

@bikerd NPM has been having some issues recently. This error is basically saying it can't get the the tarball for codebox@0.4.7 from npm.

I can't get codebox@0.4.7 from npm myself.

We pushed codebox@0.4.8 last night, I can download that on my side. Give it a try yourself with :

npm -g install codebox@0.4.8

You can check out the npm package here: https://npmjs.org/package/codebox

I'm closing this issue since it's resolved with the 0.4.8 release.

@bikerd Thanks for your feedback ! I'm looking forward to more !

@AaronO AaronO closed this as completed Jan 17, 2014
@bikerd
Copy link
Author

bikerd commented Jan 17, 2014

thanks @AaronO - let me know if you want me to open a new issue for the following upgrade/install/runtime issues...

PLATFORM: CentOS release 5.10 (Final)

item 2 below is similar to what i hit when i installed codebox the first time

(1) cannot create required directory (mkdir) due to permissions

DETAILS: running as non-priv user for first time after install
FIX: manually created directory w/ priv acct
LOG:

[log][web] disable auth for /rpc/run/project
[log][reporting] events reporting with timeout of 180000 ms
Error in the application:
Error: EACCES, permission denied '/usr/local/lib/node_modules/codebox/.addons'
at Object.fs.mkdirSync (fs.js:642:18)
at Object.mkdirSyncRecursive (/usr/local/lib/node_modules/codebox/node_modules/wrench/lib/wrench.js:445:12)
at setup (/usr/local/lib/node_modules/codebox/core/cb.addons/main.js:29:16)
at load (/usr/local/lib/node_modules/codebox/node_modules/engineer/lib/plugin.js:47:21)
at d.then.then.that.plugins.(anonymous function) (/usr/local/lib/node_modules/codebox/node_modules/engineer/lib/application.js:45:31)
at _fulfilled (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:703:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:732:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:669:13)
at /usr/local/lib/node_modules/codebox/node_modules/q/q.js:543:44
at flush (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:106:17)
Error initializing CodeBox
{ [Error: EACCES, permission denied '/usr/local/lib/node_modules/codebox/.addons']
errno: 3,
code: 'EACCES',
path: '/usr/local/lib/node_modules/codebox/.addons',
syscall: 'mkdir' }
Error: EACCES, permission denied '/usr/local/lib/node_modules/codebox/.addons'
at Object.fs.mkdirSync (fs.js:642:18)
at Object.mkdirSyncRecursive (/usr/local/lib/node_modules/codebox/node_modules/wrench/lib/wrench.js:445:12)
at setup (/usr/local/lib/node_modules/codebox/core/cb.addons/main.js:29:16)
at load (/usr/local/lib/node_modules/codebox/node_modules/engineer/lib/plugin.js:47:21)
at d.then.then.that.plugins.(anonymous function) (/usr/local/lib/node_modules/codebox/node_modules/engineer/lib/application.js:45:31)
at _fulfilled (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:703:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:732:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:669:13)
at /usr/local/lib/node_modules/codebox/node_modules/q/q.js:543:44
at flush (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:106:17)
$

(2) Error initializing CodeBox due to permissions

FIX: used chmod to manually change permissions
LOG:

log][addons] Adding default addon cb.terminal
[log][addons] Adding default addon cb.theme.dark
Error in the application:
Error: EACCES, symlink '/usr/local/lib/node_modules/codebox/addons/cb.collaborators'
Error initializing CodeBox
{ [Error: EACCES, symlink '/usr/local/lib/node_modules/codebox/addons/cb.collaborators']
errno: 3,
code: 'EACCES',
path: '/usr/local/lib/node_modules/codebox/addons/cb.collaborators' }
Error: EACCES, symlink '/usr/local/lib/node_modules/codebox/addons/cb.collaborators'
$

(3) misc runtime error

FIX: have not looked at/no action taken yet
LOG:

[log][events] proxy.handling : { url: '/proxy/undefined%2Fapi%2Faddons%3Flimit%3D1000',
method: 'GET' }
17 Jan 06:55:55 - Handle: nullundefined/api/addons?limit=1000
17 Jan 06:55:55 - Handled: nullundefined/api/addons?limit=1000
17 Jan 06:55:55 - HTTP ERROR=
17 Jan 06:55:55 - Error: options.host is required to create an Agent.
17 Jan 06:55:55 - Error: options.host is required to create an Agent.
at Object._getAgent (/usr/local/lib/node_modules/codebox/node_modules/loadfire/node_modules/http-proxy/lib/node-http-proxy.js:346:11)
at setupProxy (/usr/local/lib/node_modules/codebox/node_modules/loadfire/node_modules/http-proxy/lib/node-http-proxy/http-proxy.js:81:36)
at new exports.HttpProxy (/usr/local/lib/node_modules/codebox/node_modules/loadfire/node_modules/http-proxy/lib/node-http-proxy/http-proxy.js:86:3)
at /usr/local/lib/node_modules/codebox/node_modules/loadfire/lib/groupbalancer.js:95:25
at _fulfilled (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:703:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:732:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:669:13)
at /usr/local/lib/node_modules/codebox/node_modules/q/q.js:726:14
at flush (/usr/local/lib/node_modules/codebox/node_modules/q/q.js:106:17)
at process._tickDomainCallback (node.js:459:13)
[log][hooks] use hook auth

@bikerd
Copy link
Author

bikerd commented Jan 17, 2014

p.s. just to clarify, the install itself - "npm -g install codebox@0.4.8" - completed successfully the first time I ran it. these issues were from the first time running codebox in a non-priv account after the install completed. thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants