promised-io npm install error

34 views
Skip to first unread message

Steve Cannon

unread,
Mar 30, 2012, 12:40:42 AM3/30/12
to Persevere
Dear Sirs;

When trying to run 'npm install pintura' I ran into an issue with
promised-io.

To isolate and make sure it was the promised.io I ran 'npm install
promised-io' and received the same error.

Here is the error. Please advise, as I am trying to learn Persevere.

info it worked if it ends with ok
verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-
cli.js',
verbose cli 'install',
verbose cli 'promised-io' ]
info using n...@1.1.4
info using no...@v0.6.12
verbose C:\Program Files\nodejs\\node.exe node symlink
verbose config file C:\Documents and Settings\steeve\.npmrc
verbose config file C:\Program Files\nodejs\etc\npmrc
verbose config file C:\Program Files\nodejs\node_modules\npm\npmrc
verbose mkdir done: C:\Documents and Settings\steeve\Application Data
\npm 755
verbose mkdir done: C:\eclipseworkspace\persevere_sample\src 755
verbose cache add [ 'promised-io', null ]
silly cache add: name, spec, args [ undefined, 'promised-io',
[ 'promised-io', null ] ]
verbose parsed url { pathname: 'promised-io',
verbose parsed url path: 'promised-io',
verbose parsed url href: 'promised-io' }
verbose addNamed [ 'promised-io', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'promised-io', '', false ]
verbose raw, before any munging promised-io
verbose url resolving [ 'https://registry.npmjs.org/', './promised-
io' ]
verbose url resolved https://registry.npmjs.org/promised-io
http GET https://registry.npmjs.org/promised-io
ERR! Error: failed to fetch from registry: promised-io
ERR! at C:\Program Files\nodejs\node_modules\npm\lib\utils\npm-
registry-client\get.js:139:12
ERR! at cb (C:\Program Files\nodejs\node_modules\npm\lib\utils\npm-
registry-client\request.js:31:9)
ERR! at Request._callback (C:\Program Files\nodejs\node_modules\npm
\lib\utils\npm-registry-client\request.js:136:18)
ERR! at Request.callback (C:\Program Files\nodejs\node_modules\npm
\node_modules\request\main.js:119:22)
ERR! at Request.<anonymous> (C:\Program Files\nodejs\node_modules
\npm\node_modules\request\main.js:212:58)
ERR! at Request.emit (events.js:88:20)
ERR! at ClientRequest.<anonymous> (C:\Program Files\nodejs
\node_modules\npm\node_modules\request\main.js:209:10)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at CleartextStream.<anonymous> (http.js:1137:11)
ERR! at CleartextStream.emit (events.js:67:17)
ERR! You may report this log at:
ERR! <http://github.com/isaacs/npm/issues>
ERR! or email it to:
ERR! <np...@googlegroups.com>
ERR!
ERR! System Windows_NT 5.1.2600
ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files
\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "promised-io"
ERR! cwd C:\eclipseworkspace\persevere_sample\src
ERR! node -v v0.6.12
ERR! npm -v 1.1.4
ERR! message failed to fetch from registry: promised-io
verbose exit [ 1, true ]




Steve Cannon

unread,
Mar 30, 2012, 8:48:31 AM3/30/12
to Persevere
While I could be wrong, there appears to be a cert error if you go to
the repos directly.

On Mar 30, 12:40 am, Steve Cannon <stephentcan...@gmail.com> wrote:
> Dear Sirs;
>
> When trying to run 'npm install pintura' I ran into an issue with
> promised-io.
>
> To isolate and make sure it was the promised.io I ran 'npm install
> promised-io' and received the same error.
>
> Here is the error.  Please advise, as I am trying to learn Persevere.
>
> info it worked if it ends with ok
> verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
> verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-
> cli.js',
> verbose cli   'install',
> verbose cli   'promised-io' ]
> info using n...@1.1.4
> info using n...@v0.6.12
> verbose C:\Program Files\nodejs\\node.exe node symlink
> verbose config file C:\Documents and Settings\steeve\.npmrc
> verbose config file C:\Program Files\nodejs\etc\npmrc
> verbose config file C:\Program Files\nodejs\node_modules\npm\npmrc
> verbose mkdir done: C:\Documents and Settings\steeve\Application Data
> \npm 755
> verbose mkdir done: C:\eclipseworkspace\persevere_sample\src 755
> verbose cache add [ 'promised-io', null ]
> silly cache add: name, spec, args [ undefined, 'promised-io',
> [ 'promised-io', null ] ]
> verbose parsed url { pathname: 'promised-io',
> verbose parsed url   path: 'promised-io',
> verbose parsed url   href: 'promised-io' }
> verbose addNamed [ 'promised-io', '' ]
> verbose addNamed [ null, '' ]
> silly name, range, hasData [ 'promised-io', '', false ]
> verbose raw, before any munging promised-io
> verbose url resolving [ 'https://registry.npmjs.org/', './promised-
> io' ]
> verbose url resolvedhttps://registry.npmjs.org/promised-io
> http GEThttps://registry.npmjs.org/promised-io

Dean Landolt

unread,
Mar 30, 2012, 8:52:40 AM3/30/12
to persevere...@googlegroups.com
Try it again -- it just installed cleanly for me (on ubuntu -- don't have access to a windows box at the moment). I know npm's been having some trouble lately.


--
You received this message because you are subscribed to the Google Groups "Persevere" group.
To post to this group, send email to persevere...@googlegroups.com.
To unsubscribe from this group, send email to persevere-frame...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/persevere-framework?hl=en.


Steve Cannon

unread,
Mar 30, 2012, 10:26:02 AM3/30/12
to Persevere
Strangely getting a new error.

1. When accessing packages directly in browser it looks like the SSL
cert is self-signed. I have no idea if that creates a difficulty for
the npm.

2. So, I seems to be getting errors on promised-io, jsgi, websocket-
server, templify, and tunguska each at different times when trying to
'npm install pintura' and similar errors when trying to 'npm install
persevere-example-wiki' to try to install the full example.

3. I am wondering if maybe I should follow the CPM install
instructions instead. https://github.com/kriszyp/cpm

I really want to try out the persevere framework for a REST app server
I am building instead of falling back onto Rails for it. My front end
is going to be mostly js so I figured why not use full js on the back
end.

verbose about to build C:\eclipseworkspace\persevere_sample\src
\node_modules\pintura
ERR! error installing pin...@0.3.1
info unbuild C:\eclipseworkspace\persevere_sample\src\node_modules
\pintura
verbose from cache C:\eclipseworkspace\persevere_sample\src
\node_modules\pintura\package.json
info preuninstall pin...@0.3.1
...
http GET https://registry.npmjs.org/websocket-server/-/websocket-server-1.4.04.tgz
verbose installOne cb pin...@0.3.1
ERR! Error: failed to fetch from registry: promised-io
ERR! at C:\Program Files\nodejs\node_modules\npm\lib\utils\npm-
registry-client\get.js:139:12
ERR! at cb (C:\Program Files\nodejs\node_modules\npm\lib\utils\npm-
registry-client\request.js:31:9)
ERR! at Request._callback (C:\Program Files\nodejs\node_modules\npm
\lib\utils\npm-registry-client\request.js:136:18)
ERR! at Request.callback (C:\Program Files\nodejs\node_modules\npm
\node_modules\request\main.js:119:22)
ERR! at Request.<anonymous> (C:\Program Files\nodejs\node_modules
\npm\node_modules\request\main.js:212:58)
ERR! at Request.emit (events.js:88:20)
ERR! at ClientRequest.<anonymous> (C:\Program Files\nodejs
\node_modules\npm\node_modules\request\main.js:209:10)
ERR! at ClientRequest.emit (events.js:67:17)
ERR! at CleartextStream.<anonymous> (http.js:1137:11)
ERR! at CleartextStream.emit (events.js:67:17)
ERR! You may report this log at:
ERR! <http://github.com/isaacs/npm/issues>
ERR! or email it to:
ERR! <np...@googlegroups.com>
ERR!
ERR! System Windows_NT 5.1.2600
ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files
\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "pintura"
ERR! cwd C:\eclipseworkspace\persevere_sample\src
ERR! node -v v0.6.12
ERR! npm -v 1.1.4
ERR! message failed to fetch from registry: promised-io
verbose exit [ 1, true ]
On Mar 30, 8:52 am, Dean Landolt <d...@deanlandolt.com> wrote:
> Try it again -- it just installed cleanly for me (on ubuntu -- don't have
> access to a windows box at the moment). I know npm's been having some
> trouble lately.
>

Steve Cannon

unread,
Mar 30, 2012, 4:12:10 PM3/30/12
to Persevere
Solved.

node and npm upgrade. I was only a couple minor releases behind but I
believe this fixed it.

On Mar 30, 10:26 am, Steve Cannon <stephentcan...@gmail.com> wrote:
> Strangely getting a new error.
>
> 1.  When accessing packages directly in browser it looks like the SSL
> cert is self-signed.  I have no idea if that creates a difficulty for
> the npm.
>
> 2.  So, I seems to be getting errors on promised-io, jsgi, websocket-
> server, templify, and tunguska each at different times when trying to
> 'npm install pintura' and similar errors when trying to 'npm install
> persevere-example-wiki' to try to install the full example.
>
> 3.  I am wondering if maybe I should follow the CPM install
> instructions instead.https://github.com/kriszyp/cpm
>
> I really want to try out the persevere framework for a REST app server
> I am building instead of falling back onto Rails for it.  My front end
> is going to be mostly js so I figured why not use full js on the back
> end.
>
> verbose about to build C:\eclipseworkspace\persevere_sample\src
> \node_modules\pintura
> ERR! error installing pint...@0.3.1
> info unbuild C:\eclipseworkspace\persevere_sample\src\node_modules
> \pintura
> verbose from cache C:\eclipseworkspace\persevere_sample\src
> \node_modules\pintura\package.json
> info preuninstall pint...@0.3.1
> ...
> http GEThttps://registry.npmjs.org/websocket-server/-/websocket-server-1.4.04...
> verbose installOne cb pint...@0.3.1
Reply all
Reply to author
Forward
0 new messages