notarget No matching version found for xlsx@^0.18.5 #3069
I need help in fixing below error.
notarget No matching version found for xlsx@^0.18.5
I had followed below steps but still getting same error.
- Download the tarball (xlsx-0.20.1.tgz) for the desired version. The current version is available at https://cdn.sheetjs.com/xlsx-0.20.1/xlsx-0.20.1.tgz
- Create a vendor subfolder at the root of your project and move the tarball to that folder. Add it to your project repository.
- Install the tarball using a package manager:
npm i --save file:vendor/xlsx-0.20.1.tgz
Issue as below:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for xlsx@^0.18.5.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
If you have an existing dependency, remove it first. See the admonition in https://docs.sheetjs.com/docs/getting-started/installation/nodejs#legacy-endpoints
npm rm --save xlsx
After removing the old dependency, follow the vendoring steps.
We probably should include a step 0 (remove existing dependency) in the docs page
No due date set.
No dependencies set.
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?