v0.20.3 docker container npm install issue #3157
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#3157
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?
We uese node:20-alpine environment in docker. When the app start to insatll packages we met the following issue:
npm error Submodule 'test_files' (https://github.com/SheetJS/test_files) registered for path 'test_files'
npm error Cloning into '/home/runner/.npm/_cacache/tmp/git-cloneO8RpZ3/test_files'...
npm error remote: Support for password authentication was removed on August 13, 2021.
npm error remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
npm error fatal: Authentication failed for 'https://github.com/SheetJS/test_files/'
npm error fatal: clone of 'https://github.com/SheetJS/test_files' into submodule path '/home/runner/.npm/_cacache/tmp/git-cloneO8RpZ3/test_files' failed
npm error Failed to clone 'test_files'. Retry scheduled
npm error Cloning into '/home/runner/.npm/_cacache/tmp/git-cloneO8RpZ3/test_files'...
npm error remote: Support for password authentication was removed on August 13, 2021.
npm error remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
npm error fatal: Authentication failed for 'https://github.com/SheetJS/test_files/'
npm error fatal: clone of 'https://github.com/SheetJS/test_files' into submodule path '/home/runner/.npm/_cacache/tmp/git-cloneO8RpZ3/test_files' failed
npm error Failed to clone 'test_files' a second time, aborting
Are you using the tarball https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz ? If you are, can you share more details (a snippet from the Dockerfile so we can try to reproduce)?
Thanks for the support!
When we change to https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz this url the install works well!
Before we used "xlsx": "git+https://git.sheetjs.com/sheetjs/sheetjs.git#v0.20.3" this way to install then found the issue.
@Steven do you change the full content of "xlsx" by " https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz" or "git+ https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz". I have tried both ways but still have errors.
@PeihPeih After changed to
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz", this content the npm install succuss.
How about remove the package-lock.json file and clean the npm cache then try the install again?