Comments (8)
@txssseal I was able to get it to work by building the module and then symlinking the built module to the global node_modules
folder. This doesn't resolve this issue (npm install
shouldn't install a broken module), but if you wanted to go ahead and test napajs
now, this might do the trick.
- Built the module using the instructions on the build page.
- Ran
npm link
in the directory where I builtnapajs
. This symlinks the localnapajs
module to the globalnode_modules
directory. - Changed to my project directory, and again ran
npm link
to symlink the globalnapajs
module to my project'snode_modules
directory. - Started
node
and enteredvar napa = require("napajs");
, which executed without any errors.
from napajs.
I have installed the necessary dependencies as well
from napajs.
Same issue here. @txssseal are you running High Sierra?
from napajs.
Same issue here. on macOS Sierra 10.12.6 (16G29)
from napajs.
Tested this on Ubuntu and saw what appears to be the same error.
OS: Ubuntu 16.04.3 LTS (x64)
Node: v8.7.0
Napajs version: 0.1.3
node estimate-pi-in-parallel.js
module.js:653
return process.dlopen(module, path._makeLong(filename));
^
Error: libnapa.so: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (module.js:653:18)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Module.require (module.js:568:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/brian/projects/napa/node_modules/napajs/lib/binding.js:5:22)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
from napajs.
OS: MacOS High Sierra (10.13)
Node: v8.0.0
Napajs version: 0.1.3
$ node test.js
module.js:598
return process.dlopen(module, path._makeLong(filename));
^
Error: dlopen(/tmp/node_modules/napajs/bin/napa-binding.node, 1): Library not loaded: @rpath/libnapa.dylib
Referenced from: /tmp/node_modules/napajs/bin/napa-binding.node
Reason: image not found
at Object.Module._extensions..node (module.js:598:18)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/tmp/node_modules/napajs/lib/binding.js:5:22)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
from napajs.
I'm also running into the same error on osx. it would be great if there was a docker image we could use
from napajs.
Thanks for reporting. This is tracked by #80
from napajs.
Related Issues (20)
- There's no napa-binding-v0.2.3-node-v51-win32-x64.tar.gz HOT 8
- There's no ./lib/index.js. HOT 2
- [centos 7.2]Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found HOT 2
- NapaJS for ethereum transactions HOT 2
- CreateZone:75 Failed to initialize zone HOT 2
- Beginners Question: costs of napa.js HOT 4
- Use napajs as a secure sandbox? HOT 2
- not support --napa_binding_binary_host_mirror
- how does this lib compare to gpu.js ?
- coredump while running the tutorial
- can't find fuction 'foo' in module 'projectdir/test'
- Error: ReferenceError: setTimeout is not defined HOT 4
- is this the ruby killer we've been waiting for?
- CMake Error: Could not create named generator Visual Studio 15 2017 Win64 Win64 HOT 3
- install script set to release 67 but should be v64 HOT 1
- 1): no suitable image found. /napa-binding.node: unknown file type, first eight bytes:
- how child thread import vm
- Can i use napajs in only v8 enviroment without Nodejs?
- This repo is missing important files HOT 18
- Node v18 unavailable
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 napajs.