Giter VIP home page Giter VIP logo

Comments (3)

bnoordhuis avatar bnoordhuis commented on June 2, 2024

That's a permissions issue, not a bug in node-iconv. I suspect that you need to run the cygwin shell as administrator.

from node-iconv.

Linrstudio avatar Linrstudio commented on June 2, 2024

D:\nodejs\bin>node.exe npm install iconv
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm info addNamed [ 'iconv', '' ]
npm info fetch http://registry.npmjs.org/iconv/-/iconv-1.1.2.tgz
npm info shasum 779d3bcf64c3f8c2e5ebc6637e42b1c4470b57e1
npm info shasum /tmp/npm-1314197381636/1314197381636-0.0304334897082299/tmp.tgz
npm info shasum be5c629d80d2a2e5f491410ff13f34b1ccea8150
npm info shasum /lib/.npm/iconv/1.1.2/package.tgz
npm info into /usr/bin [email protected]
npm info installOne [email protected]
npm info unbuild /usr/bin/node_modules/iconv
npm info preinstall [email protected]

[email protected] preinstall /usr/bin/node_modules/iconv
node-waf configure

execvp(): No such file or directory
npm info [email protected] Failed to exec preinstall script
npm ERR! error installing [email protected] Error: [email protected] preinstall: node-waf c onfigure
npm ERR! error installing [email protected] sh "-c" "node-waf configure" failed with
127
npm ERR! error installing [email protected] at ChildProcess. (/usr/lib/
node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing [email protected] at ChildProcess.emit (events.js:67:17)

npm ERR! error installing [email protected] at ChildProcess.onexit (child_process.
js:192:12)
npm info unbuild /usr/bin/node_modules/iconv
npm info preuninstall [email protected]
npm info uninstall [email protected]
npm info postuninstall [email protected]
npm ERR! [email protected] preinstall: node-waf configure
npm ERR! sh "-c" "node-waf configure" failed with 127
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is most likely a problem with the iconv package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure
npm ERR! You can get their info via:
npm ERR! npm owner ls iconv
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System CYGWIN_NT-6.1 1.7.9(0.237/5/3)
npm ERR! command "node" "/usr/bin/npm" "install" "iconv"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/bin/npm-debug.log
npm not ok

D:\nodejs\bin>

from node-iconv.

bnoordhuis avatar bnoordhuis commented on June 2, 2024

[email protected] preinstall /usr/bin/node_modules/iconv
node-waf configure

execvp(): No such file or directory

You either don't have node-waf (the build tool for add-ons) installed or it's not on your PATH.

from node-iconv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.