question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rebuild with --no-bin-links option

See original GitHub issue
  • Version: 7.18.0
  • Target: Linux

I want to build in Jenkins (which runs inside docker on windows) therefor I need the --no-bin-links option in node. But when it does the npm rebuild part it fails because it is missing the --no-bin-links. Is there a way to add this option at build to fix this issue?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lgeigercommented, Nov 3, 2016

@develar Thanks for maintaining this awesome package.

After upgrading to 7.19.1 we run into https://github.com/npm/npm/issues/9953 on windows because the --no-bin-links flag doesn’t work correctly. Could we make it optional?

Here is the full error: https://ci.appveyor.com/project/nteract/nteract/build/1.0.652/job/0ij1f4vrs2aaeg8o#L77

Keep up the great work 👍

0reactions
lgeigercommented, Nov 4, 2016

@develar Thank you a lot for the quick fix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm-rebuild
This command runs the npm build command on the matched folders. This is useful when you install a new version of node, and...
Read more >
Laravel Homestead, npm install --no-bin-links error
I have developed a particular method to make it all work. Here are the basic steps: First, make a directory out of the...
Read more >
Homestead npm install --no-bin-links error - Laracasts
If I run npm rebuild --no-bin-links after npm install --no-bin-links everything works fine, but yeah, it's only a workaround. Hope someone knows how...
Read more >
yarn install
yarn install --no-bin-links. Prevent yarn from creating symlinks for any binaries the package might contain. yarn install --link-duplicates. Create hardlinks to ...
Read more >
npm-rebuild(1) - bullseye-backports - Debian Manpages
It is also useful when installing with --ignore-scripts and --no-bin-links, to explicitly choose which packages to build and/or link bins.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found