-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: ENOENT: no such file or directory #3
Comments
Hello Xavier, could you use |
Hello and thank you for your answer. This is what I did and what happened after a npm start |
Oh sorry, I didn't see that. Could you try |
Thank you. I tried and got the same: xaviervmcomsmbp:brain-bits xaviervasques$ rm -rf ./cache
App threw an error during load I also tried a new npm install: xaviervmcomsmbp:brain-bits xaviervasques$ sudo npm install npm -g
xaviervmcomsmbp:brain-bits xaviervasques$ node -v xaviervmcomsmbp:brain-bits xaviervasques$ npm -v I tried different ways to install npm |
I think the problem might be with node.js version! Could you try with a node version of 10 instead of 12? |
Hi Armagan, I have now a different error (hope meaning improvement :) xaviervmcomsmbp:brain-bits xaviervasques$ npm install
SOLINK_MODULE(target) Release/nothing.node npm ERR! A complete log of this run can be found in: |
Hi Xavier! Is this the output from node version 8? If so, brain-bits only works with version 10 right now. I suspect the error output would be different there, as these napi methods were introduced in version 10. |
Hi Armagan, xaviervmcomsmbp:brain-bits xaviervasques$ node -v
SOLINK_MODULE(target) Release/nothing.node npm ERR! A complete log of this run can be found in: If you have any idea :) thank you, |
Now this is too weird! Is it the same when you try to install https://github.com/dashersw/wits with node v 10? |
Here is the output when I try to install wits with v10 (only warnings) xaviervmcomsmbp:GitHub xaviervasques$ node -v
SOLINK_MODULE(target) Release/nothing.node |
That’s awesome! Are you able to run it as in the readme? Does it print values to the console? |
Hello Armagan, Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/electron/.electron' In the install, I put the following options: --unsafe-perm=true --allow-root and sudo in order to avoid EACCES error Then it works with node v8.16.0 nvm install 8.16.0 I had to install manually : It works now. Thank you for your help, |
That's very interesting! I was just asking to see if wits would work on its own, because it uses the modern node C bindings. I didn't think it would solve brain-bits installation problem. Because if wits worked, I would suggest to replace the raw EPOC access in brain-bits with wits — I extracted wits out of brain-bits and made it compatible with modern node C bindings. brain-bits is still using the old approach, that's why it doesn't work. If you would be interested in replacing |
Hi,
After following the instruction, I got the following issue:
xaviervmcomsmbp:brain-bits xaviervasques$ npm start
App threw an error during load
Error: ENOENT: no such file or directory, open '/Users/xavier/Desktop/GitHub/brain-bits/.cache/compiler-info.json.gz'
at Object.openSync (fs.js:453:3)
at Object.func [as openSync] (electron/js2c/asar.js:155:31)
at Object.readFileSync (fs.js:353:35)
at Object.fs.readFileSync (electron/js2c/asar.js:579:40)
at Function.createReadonlyFromConfigurationSync (/Users/xavier/Desktop/GitHub/brain-bits/node_modules/electron-compile/lib/compiler-host.js:497:28)
at Object.init (/Users/xavier/Desktop/GitHub/brain-bits/node_modules/electron-compile/lib/config-parser.js:285:43)
at Object. (/Users/xavier/Desktop/GitHub/brain-bits/index.js:1:29)
at Module._compile (internal/modules/cjs/loader.js:808:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:820:10)
at Module.load (internal/modules/cjs/loader.js:677:32)
Can someone help me please ?
Thanks
The text was updated successfully, but these errors were encountered: