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 docpad-plugin-minicms not installing #647

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

npm install docpad-plugin-minicms not installing #647

s2zaman opened this issue Sep 18, 2013 · 12 comments

Comments

@s2zaman
Copy link

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
Copy link
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
Copy link
Member

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
Copy link

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

@s2zaman
Copy link
Author

s2zaman commented Sep 19, 2013

@jeremyfa Have you checked the issue...

@jeremyfa
Copy link

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
Copy link
Author

s2zaman commented Sep 20, 2013

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

@balupton
Copy link
Member

So it's working now for you @s2zaman?

@s2zaman
Copy link
Author

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
Copy link
Member

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

@isaacs
Copy link

isaacs commented Oct 8, 2013

Works fine for me.

@s2zaman
Copy link
Author

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/]

@mrj04
Copy link

mrj04 commented Aug 29, 2016

unicodedatafile = {
host: "unicode.org",

By this code :

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

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

6 participants