Comments (6)
Thanks @raub
For the record, this same happens with libjbig.so.0
libjbig.so.0: cannot open shared object file
I was able to sort this out by copy/pasting the 2 files from another folder, after that the examples worked like a charm
But maybe could be a good idea to deliver the npm package with the needed files or add details about the extra libs needed
Thanks again!
from image-raub.
@eard7 Thanks for the feedback, it is really useful to know if the package works in the wild.
I added 4 more libs that seemed missing:
- libgomp.so.1
- libjbig.so.0
- liblcms2.so.2
- liblzma.so.5
Please try removing your workaround copy-files and see if clean install works for you now.
from image-raub.
Thanks for the quick response @raub. Tested again by removing my workaround, deleted the node_modules from 3d-core-raub, pulled the latest from master and tried npm i
again. But got this error:
> node-gyp rebuild
module.js:550
throw err;
^
Error: Cannot find module 'nan'
at Function.Module._resolveFilename (module.js:548:15)
at Function.resolve (internal/module.js:18:19)
at Object.<anonymous> (/home/erivera/Repos/3d-core-raub/node_modules/glfw-raub/node_modules/addon-tools-raub/index.js:8:41)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
gyp: Call to 'node -e "require('addon-tools-raub').rm()"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
Maybe missing dependency on package.json?
--EDIT--
Installed nan manually using npm i nan
After that all the dependencies installed successfully and the examples works like a charm
from image-raub.
@eard7 I'm glad to hear the libs are not mising anymore.
The problem with nan appears to be due to some NPM caching or other stuff. Usually I try to make sure package-lock.json is deleted along with node_modules before reinstalling.
By the way what is your version of NPM?
I would recomend using [email protected] it goes together with current LTS Nodejs 10.13.0. The issue could be from an old NPM (like 4, maybe even 5), or a package-lock.json left by the old version. Could also be because installing from Github, but I don't want to rush the NPM release before everything works.
from image-raub.
@raub thanks for the suggestion! Actually after deleting the package-lock.json (before i only deleted the node_modules folder), the nan issue disappeared. For the record, removed the node_modules and the package-lock.json, installed the dependencies again and examples run like a charm.
Currently using [email protected] with [email protected] if that helps.
Thanks again, can't wait for the new version to be available @ npm
from image-raub.
The new version is available with all the fixes.
npm i [email protected]
Within 3D Core should work correctly since https://github.com/node-3d/3d-core-raub/tree/v1.0.0
npm i [email protected]
from image-raub.
Related Issues (2)
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 image-raub.