Skip to content
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

Feature Request ( NodeJS ) #2

Open
Jonyk56 opened this issue Nov 12, 2020 · 1 comment
Open

Feature Request ( NodeJS ) #2

Jonyk56 opened this issue Nov 12, 2020 · 1 comment

Comments

@Jonyk56
Copy link

Jonyk56 commented Nov 12, 2020

With this it is possible to have nodejs and npm installed on a chromeos device w/o the use of crostini, can you possibly make this be added automatically ( about 600mb of space )

@sebanc
Copy link
Owner

sebanc commented Nov 12, 2020

I don't really feel like forcing a 2gb (uncompressed size) toolchain on everyone. Also, the brunch-toolchain does not have to be updated / replaced with each chromeos / brunch version as it is installed on the user data partition.

The idea is that you install the brunch-toolchain once, then build node.js or whatever you need and it will remain available regardless of chromeos / brunch updates.

I have just built the master branch of node.js to test the toolchain and it works, here are the commands I used:

start-toolchain
mkdir -p /usr/local/tmp
cd /usr/local/tmp
git clone -b master https://github.com/nodejs/node.git
cd node
./configure --prefix=/usr/local
make -j$(($(nproc)-1))
make install

Alternatively, if you prefer a full linux distro with a package manager you can try brioche.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants