Unable to install xlsx #571
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#571
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since 1 day back I'm unable to install xlsx, the error i get is
It seems that the cfb module doesn't have the correct semver (or something) on npm causing npm install to fail.
Which version of node/npm are you using?
Node v6.9.4
Npm 3.10.10
@FredrikL ok I can confirm with that particular combination trying to install with a
>=
version spec is causing issues, not entirely sure why. I'm going to push a 0.11.0 version of cfb and then a 0.8.6 xlsx with the package.json with a version spec like "~0.11". Stay tunedYeah We having this issue too, deploys are failing now 😢
@FredrikL @mooyoul I just pushed the same cfb code to version 0.11.0, can you test again and see if the install works?
yes, works now, thanks!
Sure, re-deploying to staging/production server now... stay tuned :)
@SheetJSDev Okay, Deploys were successfully ended without having any issues.
Issue seems resolved now. Thanks for quick response and fix 👍 🍻
@SheetJSDev FYI, this is full npm verbose log.
In my case, npm couldn't find
cfb/bin/cfb
file, so chown command was failed.@SheetJSDev Note that npm uses node-semver package,
and that
node-semver
treats0.10.3-a
version asprerelease
version!so, if there are
0.10.3
version and0.10.3-a
version,0.10.3
version will be treated as latest version since0.10.3-a
version was treated asprerelease
version.Please see below screenshot:
@mooyoul thanks for investigating further, my sincerest apologies for pushing a pre-release semver :( I'm still confused by why the entire install would bomb out. Shouldn't the spec ">=0.10.0" pick the 0.10.3 version (which would have been the latest version before yesterday)?
@SheetJSDev hmm i was digging about this issue a little more,
I found interesting part from deploy log
(here is full npm-debug.log gist)
Interesting part was:
actually npm resolved both cfb@0.10.2 and cfb@0.10.3 from xlsx dependency, downloaded cfb@0.10.3, but tried to extract cfb@0.10.2 tarball. and it was failed.
I don't know why it was caused by something exactly, but guessing some cache stuff caused that weird behavior.
Hope this helps.
@mooyoul Thanks for looking into this further! This is an NPM bug and I can reproduce it, will make an npm issue shortly. The short term problem was resolved and I will refrain from pushing anything remotely resembling a pre-release or post-release in the future.