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

Install fails with error from node-gyp #3

Open
chuyskywalker opened this issue Dec 29, 2013 · 1 comment
Open

Install fails with error from node-gyp #3

chuyskywalker opened this issue Dec 29, 2013 · 1 comment

Comments

@chuyskywalker
Copy link

Tried to do an install today and was unable to successfully complete because of the below error. I'm not sure that this project is at fault, and I'm happy to escalate this bug up to the proper place -- I just don't know enough to say where the bug really lies and thus who to file it with.

# docpad install multimarkdown
info: Welcome to DocPad v6.59.6 (local installation: /gits/jrm.cc/node_modules/docpad)
info: Contribute: http://docpad.org/docs/contribute
info: Plugins: cleanurls, eco, highlightjs, livereload, marked, moment
info: Environment: development
info: npm install docpad-plugin-multimarkdown@2 --save --save-dev
npm WARN package.json no-skeleton.docpad@0.1.0 No repository field.
npm http GET https://registry.npmjs.org/docpad-plugin-multimarkdown
npm http 304 https://registry.npmjs.org/docpad-plugin-multimarkdown
npm http GET https://registry.npmjs.org/multimarkdown
npm http 304 https://registry.npmjs.org/multimarkdown

> multimarkdown@0.0.15 preinstall /gits/jrm.cc/node_modules/docpad-plugin-multimarkdown/node_modules/multimarkdown
> node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build

Traceback (most recent call last):
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in <module>
    sys.exit(gyp.script_main())
AttributeError: 'module' object has no attribute 'script_main'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 2.6.32-358.23.2.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
gyp ERR! cwd /gits/jrm.cc/node_modules/docpad-plugin-multimarkdown/node_modules/multimarkdown
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
npm ERR! multimarkdown@0.0.15 preinstall: `node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the multimarkdown@0.0.15 preinstall script.
npm ERR! This is most likely a problem with the multimarkdown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build
npm ERR! You can get their info via:
npm ERR!     npm owner ls multimarkdown
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-358.23.2.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "docpad-plugin-multimarkdown@2" "--save" "--save-dev"
npm ERR! cwd /gits/jrm.cc
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.22
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /gits/jrm.cc/npm-debug.log
npm ERR! not ok code 0
error: Something went wrong with the action
error: An error occured:
Error: npm WARN package.json no-skeleton.docpad@0.1.0 No repository field.
npm http GET https://registry.npmjs.org/docpad-plugin-multimarkdown
npm http 304 https://registry.npmjs.org/docpad-plugin-multimarkdown
npm http GET https://registry.npmjs.org/multimarkdown
npm http 304 https://registry.npmjs.org/multimarkdown
Traceback (most recent call last):
  File "/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 18, in <module>
    sys.exit(gyp.script_main())
AttributeError: 'module' object has no attribute 'script_main'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Linux 2.6.32-358.23.2.el6.x86_64
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure"
gyp ERR! cwd /gits/jrm.cc/node_modules/docpad-plugin-multimarkdown/node_modules/multimarkdown
gyp ERR! node -v v0.10.22
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
npm ERR! multimarkdown@0.0.15 preinstall: `node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the multimarkdown@0.0.15 preinstall script.
npm ERR! This is most likely a problem with the multimarkdown package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp configure && mkdir -p deps && cd deps && curl 'https://codeload.github.com/fletcher/peg-multimarkdown/tar.gz/3.7' | tar zxvf - && mv peg-multimarkdown-* peg-multimarkdown && cd peg-multimarkdown && CFLAGS='-fPIC -Wall -O3 -include GLibFacade.h -I ./ -D MD_USE_GET_OPT=1 -D_GNU_SOURCE' make && cd ../../ && node-gyp build
npm ERR! You can get their info via:
npm ERR!     npm owner ls multimarkdown
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 2.6.32-358.23.2.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "docpad-plugin-multimarkdown@2" "--save" "--save-dev"
npm ERR! cwd /gits/jrm.cc
npm ERR! node -v v0.10.22
npm ERR! npm -v 1.3.22
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /gits/jrm.cc/npm-debug.log
npm ERR! not ok code 0

    at ChildProcess.<anonymous> (/gits/jrm.cc/node_modules/docpad/node_modules/safeps/out/lib/safeps.js:159:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Socket.<anonymous> (child_process.js:948:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:466:12)
info: Shutting down... cya next time!
@smeijer
Copy link

smeijer commented Dec 20, 2014

Any change this great plugin will ever be fixed?

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