npm WARN tarball data for typescript@2.2.0 seems to be corrupted #3137

Closed
opened 2024-06-14 16:03:24 +00:00 by Malwinderkaur · 1 comment

Hi,
I am getting following error npm WARN tarball data for typescript@2.2.0 seems to be corrupted.
I am using xlsx v0.20.2 as a vendor as explained here in Angular 17 project.

Hi, I am getting following error npm WARN tarball data for typescript@2.2.0 seems to be corrupted. I am using xlsx v0.20.2 as a vendor as explained [here](https://docs.sheetjs.com/docs/getting-started/installation/nodejs#vendoring) in Angular 17 project.
Owner

typescript is a devDependency and it shouldn't be installed if you are installing the tarball install directly. To verify:

mkdir i3137
cd i3137
npm init -y
npm i --save https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz --verbose

If you inspect the output, there should be no attempt to fetch or install typescript.


Please try running the commands on a different machine. If you are still running into issues, please direct questions to npmjs support or join our Discord chat.

`typescript` is a `devDependency` and it shouldn't be installed if you are installing the tarball install directly. To verify: ```bash mkdir i3137 cd i3137 npm init -y npm i --save https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz --verbose ``` If you inspect the output, there should be no attempt to fetch or install `typescript`. --- Please try running the commands on a different machine. If you are still running into issues, please direct questions to npmjs support or [join our Discord chat](https://sheetjs.com/chat).
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#3137
No description provided.