npm install docpad-plugin-minicms not installing #647

Closed
s2zaman opened this Issue Sep 18, 2013 · 12 comments

Comments

Projects
None yet
6 participants
@s2zaman

s2zaman commented Sep 18, 2013

My previous issue #646 was resolved by @balupton .
But this came up.
The error results from the command npm install docpad-plugin-minicms

...
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.2.12.tgz
npm http 200 https://registry.npmjs.org/cssom/-/cssom-0.2.5.tgz
npm http 200 https://registry.npmjs.org/bufferjs/-/bufferjs-2.0.0.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.2.12.tgz

> unicode@0.4.4 postinstall C:\Users\VCR1\node_modules\docpad-plugin-minicms\nod
e_modules\slug\node_modules\unicode
> node install.js

try to read file /usr/share/unicode/UnicodeData.txt …
Warning: using slow naiv Buffer.indexOf function!
`npm install buffertools` to speed things up.
/usr/share/unicode/UnicodeData.txt not found.
try to read file /usr/share/unicode-data/UnicodeData.txt …
/usr/share/unicode-data/UnicodeData.txt not found.
try to download …
GET unicode.org:80/Public/UNIDATA/UnicodeData.txt
npm http GET https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/sigmund
npm http 200 https://registry.npmjs.org/sigmund
npm http GET https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache
npm http GET https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.1.tgz
npm http 200 https://registry.npmjs.org/sigmund/-/sigmund-1.0.0.tgz
npm http 200 https://registry.npmjs.org/lru-cache/-/lru-cache-2.3.1.tgz

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: connect ETIMEDOUT
    at errnoException (net.js:901:11)
    at Object.afterConnect [as oncomplete] (net.js:892:19)
npm ERR! weird error 8
npm ERR! not ok code 0
@greduan

This comment has been minimized.

Show comment Hide comment
@greduan

greduan Sep 18, 2013

Contributor

Whenever you use docpad install you don't need to add docpad-plugin- to the plugin name. So in this case docpad install minicms is enough. :)

Contributor

greduan commented Sep 18, 2013

Whenever you use docpad install you don't need to add docpad-plugin- to the plugin name. So in this case docpad install minicms is enough. :)

@balupton

This comment has been minimized.

Show comment Hide comment
@balupton

balupton Sep 18, 2013

Owner

That's true, although I'm not sure that is what caused this error though. We'll need to get the minicms author to weigh in on this as he would know best. @jeremyfa what are your thoughts?

Owner

balupton commented Sep 18, 2013

That's true, although I'm not sure that is what caused this error though. We'll need to get the minicms author to weigh in on this as he would know best. @jeremyfa what are your thoughts?

@jeremyfa

This comment has been minimized.

Show comment Hide comment
@jeremyfa

jeremyfa Sep 18, 2013

Seems that a the slug module is broken. Need to check what is going on. Give me some time to take a look!

Seems that a the slug module is broken. Need to check what is going on. Give me some time to take a look!

@s2zaman

This comment has been minimized.

Show comment Hide comment
@s2zaman

s2zaman Sep 19, 2013

@jeremyfa Have you checked the issue...

s2zaman commented Sep 19, 2013

@jeremyfa Have you checked the issue...

@jeremyfa

This comment has been minimized.

Show comment Hide comment
@jeremyfa

jeremyfa Sep 20, 2013

I tested the installation on the last version of docpad (6.53.0) with last version of node (0.10.18) and everything installs correctly.

My suggestions:

  • Try again the installation. Maybe the dependency was broken for a while and is now fixed by its author
  • Update docpad and node version and try again

Are you running on Mac, Linux?

I tested the installation on the last version of docpad (6.53.0) with last version of node (0.10.18) and everything installs correctly.

My suggestions:

  • Try again the installation. Maybe the dependency was broken for a while and is now fixed by its author
  • Update docpad and node version and try again

Are you running on Mac, Linux?

@s2zaman

This comment has been minimized.

Show comment Hide comment
@s2zaman

s2zaman Sep 20, 2013

I'm using Windows 8 Pro, 32-bit OS on x64-based architecture.
Thanks for resolving the problem !!

s2zaman commented Sep 20, 2013

I'm using Windows 8 Pro, 32-bit OS on x64-based architecture.
Thanks for resolving the problem !!

@balupton

This comment has been minimized.

Show comment Hide comment
@balupton

balupton Sep 20, 2013

Owner

So it's working now for you @s2zaman?

Owner

balupton commented Sep 20, 2013

So it's working now for you @s2zaman?

@s2zaman

This comment has been minimized.

Show comment Hide comment
@s2zaman

s2zaman Sep 20, 2013

I think there is problem either with the sigmund or lru-cache or both.
I tried the installation, both with npm and docpad but the error comes up on reaching the mentioned packages.

s2zaman commented Sep 20, 2013

I think there is problem either with the sigmund or lru-cache or both.
I tried the installation, both with npm and docpad but the error comes up on reaching the mentioned packages.

@balupton

This comment has been minimized.

Show comment Hide comment
@balupton

balupton Sep 20, 2013

Owner

@isaacs any ideas? or any ideas on who we should ask?

Owner

balupton commented Sep 20, 2013

@isaacs any ideas? or any ideas on who we should ask?

@isaacs

This comment has been minimized.

Show comment Hide comment
@isaacs

isaacs Oct 8, 2013

Works fine for me.

isaacs commented Oct 8, 2013

Works fine for me.

@s2zaman

This comment has been minimized.

Show comment Hide comment
@s2zaman

s2zaman Oct 9, 2013

Thanks to you all.
The problem is solved !

The problem was not with the sigmund,lru-cache.
The unicode package has some issue in it.

I worked around on it on my system as:

Hint: code in the [ ] indicates path.

  1. I captured the "docpad-plugin-minicms" folder manually, while the npm install was being carried out in the [../examples/blog]. then copied it to the [../examples/blog/node_modules/].
  2. downloaded "UnicodeData.txt" file manually
  3. downloaded the "node-unicodetable" manually, put in the [../examples/blog/node_modules/docpad-plugin-minicms']
  4. rename the "node-unicodetable" folder to "unicode"
  5. Finally docpad server in [../examples/blog/]

s2zaman commented Oct 9, 2013

Thanks to you all.
The problem is solved !

The problem was not with the sigmund,lru-cache.
The unicode package has some issue in it.

I worked around on it on my system as:

Hint: code in the [ ] indicates path.

  1. I captured the "docpad-plugin-minicms" folder manually, while the npm install was being carried out in the [../examples/blog]. then copied it to the [../examples/blog/node_modules/].
  2. downloaded "UnicodeData.txt" file manually
  3. downloaded the "node-unicodetable" manually, put in the [../examples/blog/node_modules/docpad-plugin-minicms']
  4. rename the "node-unicodetable" folder to "unicode"
  5. Finally docpad server in [../examples/blog/]

@s2zaman s2zaman referenced this issue in dodo/node-unicodetable Oct 9, 2013

Closed

unicode install error #6

@s2zaman s2zaman closed this Oct 9, 2013

@mrj04

This comment has been minimized.

Show comment Hide comment
@mrj04

mrj04 Aug 29, 2016

unicodedatafile = {
host: "unicode.org",

By this code :

unicodedatafile = {
host: "http://unicode.org",

mrj04 commented Aug 29, 2016

unicodedatafile = {
host: "unicode.org",

By this code :

unicodedatafile = {
host: "http://unicode.org",

@sdesalas sdesalas referenced this issue in eversport/node-unicodetable Apr 14, 2017

Closed

Problems downloading UnicodeData.txt on windows #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment