notarget No matching version found for xlsx@^0.18.5 #3069

Open
opened 2024-02-02 22:48:20 +00:00 by praneel.p · 1 comment

Hello,
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.

  1. 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
  2. Create a vendor subfolder at the root of your project and move the tarball to that folder. Add it to your project repository.
  3. 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.

Kindly help.

Hello, 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. 1) 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 2) Create a vendor subfolder at the root of your project and move the tarball to that folder. Add it to your project repository. 3) 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. Kindly help.
Owner

If you have an existing dependency, remove it first. See the admonition in https://docs.sheetjs.com/docs/getting-started/installation/nodejs#legacy-endpoints

Using NPM:

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

If you have an existing dependency, remove it first. See the admonition in https://docs.sheetjs.com/docs/getting-started/installation/nodejs#legacy-endpoints Using NPM: ```bash 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
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#3069
No description provided.