-
Notifications
You must be signed in to change notification settings - Fork 608
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
Where does node_modules/nodeos-barebones/node_modules go during build? #218
Comments
Npm 3 is not supported, downgrade to npm 2 or use Node.js 4.x. This is a known bug due to npm 2 plain dependencies, hope when nodeos-crosstools is an independent module this gets fixed. Any help here is welcome. |
master now don't have the cross-toolchain inside barebones but instead it's an independent module, and also I'm improved the support of having the dependencies anywhere, could you be able to check again if it works with npm 3? |
Good to hear. I'm traveling but will be able to pull and test tomorrow. Will advise. |
I'd run the test but am likely to hit errors not even related to npm3's existence |
I got to build. I had to step into nodeos-rootfs, -usersfs, -barebones, -initramfs and do 'npm install' separate (I didn't find anything in 'out' directory) and for -usersfs I had to 'npm rebuild'. When using npm start after everything built, I kept getting qemu error: but I could start up with: So I think this specific issue is resolved for npm 3, but there may be something else going on. Will leave to you if this should be closed. |
Well, these are good news... sort of :-) The problem on this issue (cross-toolchain was disappearing) is fixed since now the cross-toolchain is an independent module, but NodeOS build system is not yet npm3 ready because they changed the lifecycle and now it seems the The QEmu error is unrelated to npm3, it seems it's more related to a system libraries problem, so maybe we could fix it by compiling QEmu itself statically. What do you think? |
I have just check it and confirmed: npm3 only execute This will make us change the build process, but hopefully not so bad, mostly use |
Sorry I didn't get to this. I spent a little extra time. Last effort worked: npm install && npm rebuild && npm install |
Sort of. On npm2 sometimes I got problems because dependencies are not
|
Fixed in master by using npm3 natively, clossing. |
IDK what is going on:
Any clues?
The text was updated successfully, but these errors were encountered: