Comments (3)
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.
Same here, on macOS 10.15.4.
from lwip.
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)
- I cannot install css-sprite because lwip has a bug
- TIFF support
- Failed to install on Redhat7 HOT 1
- Installation Failed - Build issue HOT 18
- CPU Usage
- npm install --save @dadi/cdn is failing with error on windows 7 HOT 2
- Project dead? HOT 4
- browser version broken in this release
- Problem with build on node 8 HOT 3
- node-gyp rebuild HOT 7
- LWIP installation error HOT 6
- Installation failing on Cloud 9 Web IDE
- Installation error HOT 7
- Installation Error HOT 3
- can it classify image
- Virtual routing and Forwarding(VRF) integration in lwIP HOT 1
- Cmake vs2019 build error
- dns HOT 1
- lwip ssh Remote port forwarding
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lwip.