Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'npm install' -> npm error code 128; npm error An unknown git error occurred #1241

Open
VitaliiYelinskyi opened this issue Nov 19, 2024 · 1 comment

Comments

@VitaliiYelinskyi
Copy link

Actual behavior

After 'npm install' into my 'theme' dir I got an error:

npm error code 128 npm error An unknown git error occurred npm error command git --no-replace-objects clone -b v3.4.4 ssh://[email protected]/bigcommerce-labs/node-sass.git C:\Users\***\AppData\Local\npm-cache\_cacache\tmp\git-cloneXXXXXXCv3RMS --recurse-submodules --depth=1 --config core.longpaths=true npm error fatal: destination path 'C:\Users\***\AppData\Local\npm-cache\_cacache\tmp\git-cloneXXXXXXCv3RMS' already exists and is not an empty directory. npm error A complete log of this run can be found in: C:\Users\***\AppData\Local\npm-cache\_logs\2024-11-19T19_33_38_519Z-debug-0.log

Environment

Stencil-cli version stencil --version: 8.4.1
Node version node -v: v20.16.0
NPM version npm -v: 10.9.0
OS: Windows 11

@jairo-bc
Copy link
Contributor

@VitaliiYelinskyi That's likely because some old version of stencil-cli or node-sass are included as a package dependency in the theme. And that version of the package(s) doesn't support node v20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants