Giter Site home page Giter Site logo

Failed install about lwip HOT 3 OPEN

cscrum avatar cscrum commented on July 17, 2024 1
Failed install

from lwip.

Comments (3)

cscrum avatar cscrum commented on July 17, 2024 1

So I downloaded the repo and ran npm install locally, but now when trying to launch my app I get:
node server.js
/var/www/neonetworks/node_modules/lwip/node_modules/bindings/bindings.js:135
throw err;
^

Error: Could not locate the bindings file. Tried:
→ /var/www/neonetworks/node_modules/lwip/build/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/build/Debug/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/build/Release/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/out/Debug/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/Debug/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/out/Release/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/Release/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/build/default/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/compiled/13.8.0/linux/x64/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/addon-build/release/install-root/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/addon-build/debug/install-root/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/addon-build/default/install-root/lwip_image.node
→ /var/www/neonetworks/node_modules/lwip/lib/binding/node-v79-linux-x64/lwip_image.node
at bindings (/var/www/neonetworks/node_modules/lwip/node_modules/bindings/bindings.js:126:9)
at /var/www/neonetworks/node_modules/lwip/lib/Image.js:3:41
at Object. (/var/www/neonetworks/node_modules/lwip/lib/Image.js:16:3)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Module.require (internal/modules/cjs/loader.js:1040:19)
at require (internal/modules/cjs/helpers.js:72:18)
at /var/www/neonetworks/node_modules/lwip/lib/ImagePrototypeInit.js:3:17 {
tries: [
'/var/www/neonetworks/node_modules/lwip/build/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/build/Debug/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/build/Release/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/out/Debug/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/Debug/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/out/Release/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/Release/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/build/default/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/compiled/13.8.0/linux/x64/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/addon-build/release/install-root/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/addon-build/debug/install-root/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/addon-build/default/install-root/lwip_image.node',
'/var/www/neonetworks/node_modules/lwip/lib/binding/node-v79-linux-x64/lwip_image.node'
]
}
Not real sure what this means. Any help?

from lwip.

hzsydy avatar hzsydy commented on July 17, 2024

Same here, on macOS 10.15.4.

from lwip.

Pecacheu avatar Pecacheu commented on July 17, 2024

I'm getting the same error as OP on WSL Ubuntu 20.04. Latest node v16.13.0

-- Cut out C++ warnings --
npm ERR! In file included from ../src/decoder/init.cpp:1:
npm ERR! ../src/decoder/decoder.h: At global scope:
npm ERR! ../src/decoder/decoder.h:91:14: error: variable or field ‘initAll’ declared void
npm ERR!    91 | void initAll(Handle<Object> exports);
npm ERR!       |              ^~~~~~
npm ERR! ../src/decoder/decoder.h:91:14: error: ‘Handle’ was not declared in this scope
npm ERR! ../src/decoder/decoder.h:91:27: error: expected primary-expression before ‘>’ token
npm ERR!    91 | void initAll(Handle<Object> exports);
npm ERR!       |                           ^
npm ERR! ../src/decoder/decoder.h:91:29: error: ‘exports’ was not declared in this scope
npm ERR!    91 | void initAll(Handle<Object> exports);
npm ERR!       |                             ^~~~~~~
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/snap/node/5534/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
npm ERR! gyp ERR! System Linux 4.19.128-microsoft-standard
npm ERR! gyp ERR! command "/snap/node/5534/bin/node" "/snap/node/5534/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd /mnt/c/Users/Pecac/Desktop/DigiBoard/node_modules/lwip
npm ERR! gyp ERR! node -v v16.13.0
npm ERR! gyp ERR! node-gyp -v v8.2.0
npm ERR! gyp ERR! not ok

from lwip.

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.