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.

Unable to install xlsx

See original GitHub issue

Since 1 day back I’m unable to install xlsx, the error i get is

npm install xlsx                                                                                                                                                                                                               
npm WARN prefer global voc@0.5.0 should be installed with -g
connectmeto@0.0.0 /Volumes/work/connectmeto
├── adler-32@1.0.0  extraneous
├── codepage@1.6.0  extraneous
├── crc-32@1.0.1  extraneous
└── ssf@0.8.2  extraneous

npm WARN connectmeto@0.0.0 license should be a valid SPDX license expression
npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/fredrik/.nvm/versions/node/v6.9.4/bin/node" "/Users/fredrik/.nvm/versions/node/v6.9.4/bin/npm" "install" "xlsx"
npm ERR! node v6.9.4
npm ERR! npm  v3.10.10
npm ERR! path /Volumes/work/connectmeto/node_modules/cfb/bin/cfb
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Volumes/work/connectmeto/node_modules/cfb/bin/cfb'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Volumes/work/connectmeto/node_modules/cfb/bin/cfb'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:

It seems that the cfb module doesn’t have the correct semver (or something) on npm causing npm install to fail.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
SheetJSDevcommented, Feb 24, 2017

@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 tuned

0reactions
SheetJSDevcommented, Feb 25, 2017

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot install library(xlsx) in R and look for an alternative
Here are some possible solutions: Install 64-bit version of Java. Here is the download link of Java. Re-install rJava .
Read more >
Trouble installing package "xlsx" - General - RStudio Community
The most common reason for this problem seems to be anti-virus/anti-malware software preventing files from being moved within your User directories (which is ......
Read more >
cannot run library(xlsx) : r/rstats - Reddit
xlsx has a java dependency and you need the rJava package. It looks that was installed, but you either don't have java installed...
Read more >
How to install and Load xlsx package in RStudio usind ...
I have tried to install and load xlsx package but I could not do that. Could anyone help me? I got the following...
Read more >
Unable to install xlsx · Issue #571 - GitHub
Since 1 day back I'm unable to install xlsx, the error i get is npm install xlsx npm WARN prefer global voc@0.5.0 should...
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