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

Fix armv7l install by using `arch' #58

Closed
wants to merge 1 commit into from

Conversation

losingkeys
Copy link

I believe this will fix #57, but I've been having troubles verifying that locally. Is there a test I can run to get installArchSpecificPackage to run? (It happens on npm i node@8).

See #57 for details and related threads.

See aredridel#57 for details and related threads
@aredridel
Copy link
Owner

to test:

start a package
install node
install the modified script
rm -r node_modules/node-arch-specific-version
run the script with node node_modules/.bin/installArchSpecificPackage

See if that works?

var actualCpu = cpu;

if (cpu === 'arm') {
const armCpu = execSync('arch')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the right place for this though: this is the download script, not installArchSpecific. This always just runs on my laptop.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@losingkeys
Copy link
Author

Closed in favor of aredridel/node-bin-setup#2

@losingkeys losingkeys closed this Jan 21, 2019
@losingkeys losingkeys deleted the fix-armv7l-install branch January 21, 2019 20:14
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

Successfully merging this pull request may close these issues.

Cannot npm i node@8 on an armv7l machine
3 participants