Giter VIP home page Giter VIP logo

Comments (6)

vincent-tr avatar vincent-tr commented on July 22, 2024 1

You should install node-gyp, as a global package: https://github.com/nodejs/node-gyp
It is used to compile native parts of modules, node-pre-gyp relies on it.

from hdf5.node.

vincent-tr avatar vincent-tr commented on July 22, 2024

Can you try please:
cd D:\Users\Broker\Proyectos\tfg\hdf5\node_modules\hdf5\
./node_modules/.bin/node-pre-gyp rebuild

I'm surprised that you have this directory structure as part of your path: hdf5\node_modules\hdf5
Did you create a repo named 'hdf5', which requires hdf5.node ?

from hdf5.node.

fmanso avatar fmanso commented on July 22, 2024

It is just a directory for testing hdf5.node. It has only one file app.js with the require.

EDIT: I have no /bin directory under node_modules/hdf5

from hdf5.node.

fmanso avatar fmanso commented on July 22, 2024

I guess you search this:

d:\Users\Broker\Proyectos\tfg\hdf5\node_modules\hdf5>node_modules.bin\node-pre-gyp rebuild
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
[hdf5] Removing "d:\Users\Broker\Proyectos\tfg\hdf5\node_modules\hdf5\lib\binding"
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd clean' (Error: spawn node-gyp.cmd ENOENT)
node-pre-gyp ERR! stack at ChildProcess. (D:\Users\Broker\Proyectos\tfg\hdf5\node_modules\hdf5\node_modules\node-pre-gyp\lib\util\compile.js:77:29)
node-pre-gyp ERR! stack at emitOne (events.js:96:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:188:7)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:202:12)
node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:348:16)
node-pre-gyp ERR! stack at _combinedTickCallback (internal/process/next_tick.js:74:11)
node-pre-gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:98:9)
node-pre-gyp ERR! System Windows_NT 10.0.10586
node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "d:\Users\Broker\Proyectos\tfg\hdf5\node_modules\hdf5\node_modules\node-pre-gyp\bin\node-pre-gyp" "rebuild"
node-pre-gyp ERR! cwd d:\Users\Broker\Proyectos\tfg\hdf5\node_modules\hdf5
node-pre-gyp ERR! node -v v6.2.0
node-pre-gyp ERR! node-pre-gyp -v v0.6.11
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp.cmd clean' (Error: spawn node-gyp.cmd ENOENT)

from hdf5.node.

fmanso avatar fmanso commented on July 22, 2024

Ops!. Thank you so much. It is now working.

from hdf5.node.

rimmartin avatar rimmartin commented on July 22, 2024

I'll add about this in documentation; I get so use to node-gyp being there I forget

from hdf5.node.

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.