Repository navigation
npm issue with node v4.8.5 #16528
Description
Activity
- addednpmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.
on Oct 27, 2017 - addedsmartosIssues and PRs related to the SmartOS platform.Issues and PRs related to the SmartOS platform.
on Oct 27, 2017 @nodejs/platform-smartos Seems to be a solaris/smartos issue. The diff between v4.8.4 and v4.8.5 is just one commit (f5defa2).
I can't reproduce, at least using nvm:
# node -v v4.8.5 # npm -v 2.15.11 # npm i -g npm@3.3.10 /cjihrig/.nvm/versions/node/v4.8.5/bin/npm -> /cjihrig/.nvm/versions/node/v4.8.5/lib/node_modules/npm/bin/npm-cli.js npm@3.3.10 /cjihrig/.nvm/versions/node/v4.8.5/lib/node_modules/npm # node -v v4.8.5 # npm -v 3.3.10- Will try reaching out to joyent and see if they have noticed this. Thanks…On Oct 27, 2017 7:31 AM, "Colin Ihrig" ***@***.***> wrote: I can't reproduce, at least using nvm: # node -v v4.8.5 # npm -v 2.15.11 # npm i -g ***@***.*** /cjihrig/.nvm/versions/node/v4.8.5/bin/npm -> /cjihrig/.nvm/versions/node/v4.8.5/lib/node_modules/npm/bin/npm-cli.js ***@***.*** /cjihrig/.nvm/versions/node/v4.8.5/lib/node_modules/npm # node -v v4.8.5 # npm -v 3.3.10 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#16528 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA-tueb09LZt2FGneu3E9OTG1HKUlX_7ks5swek6gaJpZM4QIJ15> .
@anandsuresh a couple questions:
- Can you try on a more recent version than 20141030T081701Z?
- Where are you getting the Node binaries from? Are they the official ones?
Sorry the late reply.
- Works fine on SunOS jpc1-anand-01.voxer.com 5.11 joyent_20170202T033902Z i86pc i386 i86pc Solaris
- I got the source code from https://nodejs.org/dist/v4.8.5/node-v4.8.5.tar.gz and built it.
I don't know if you found a resolution on this, but the Npm error seems like this may be a file permission thing
@MylesBorins The problem was probably that the node binary that was used was built on a version of SmartOS that was more recent (and not ABI compatible) with the version of SmartOS on which npm was running when the problem occurred.
@anandsuresh Can you confirm that?
@misterdjules I have a feeling that that might be the root cause. I'm rebuilding the binary on a different server to see if that helps the issue. Will keep you posted.
@misterdjules Seems like an ABI compatibility issue.
Seems like an ABI compatibility issue.
Just to make sure I'm understanding this correctly: did you confirm that rebuilding the binary on a server that has an OS version <= to the OS version of the server that runs the binary fixes the problem?
- Yup. Building on a different node running a 2014 platform image makes the problem go away..…On Nov 15, 2017 5:02 PM, "Julien Gilli" ***@***.***> wrote: @anandsuresh <https://github.com/anandsuresh> Seems like an ABI compatibility issue. Just to make sure I'm understanding this correctly: did you confirm that rebuilding the binary on a server that has an OS version <= to the OS version of the server that runs the binary fixes the problem? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#16528 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA-tuU6FBKOeuG1S6_yz_XJE2JXT0UjJks5s24mpgaJpZM4QIJ15> .
@anandsuresh Excellent thanks!
Attempting to upgrade
npmafter installing v4.8.5 (with npm v2.15.11) always fails with the following error:Attempting the same with node v4.8.4 produces expected results.