npm ERR! code 128
#109470
Replies: 2 comments 4 replies
-
Deleting and letting npm re-create the file package-lock.json resolved the issue.
Clear npm cache: Sometimes, npm cache can cause unexpected issues. You can try clearing the npm cache by running the following command: A recommended step is to use the latest npm: |
Beta Was this translation helpful? Give feedback.
4 replies
-
Try |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Hello to all, I am trying to access the stencil cli Theme file and try to install all dependencies but few dependencies I am unable to install and it is throwing the error npm ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects clone -b v3.5.0 ssh://git@github.com/bigcommerce-labs/node-sass.git C:\Users\My PC\AppData\Local\npm-cache_cacache\tmp\git-cloneXAk7fj --recurse-submodules --depth=1 --config core.longpaths=true
npm ERR! fatal: destination path 'C:\Users\My PC\AppData\Local\npm-cache_cacache\tmp\git-cloneXAk7fj' already exists and is not an empty directory.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\My PC\AppData\Local\npm-cache_logs\2024-02-21T15_03_05_151Z-debug-0.log.
this for all other stencil theme environments is working properly but for peak theme, it is giving the same error Do you guys have any idea how to solve this? Please help me on this error it is taking much of time to solve this.
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions