Can't install with pnpm
See original GitHub issuenode_modules/.pnpm/simple-git-hooks@2.2.0/node_modules/simple-git-hooks: Running postinstall script, failed in 126ms
.../node_modules/simple-git-hooks postinstall$ node ./postinstall.js
│ internal/fs/utils.js:307
│ throw err;
│ ^
│ Error: ENOENT: no such file or directory, stat 'D:\Projects\vue-promise-dialogs\node_modules\.pnpm\simple-git-hooks@2.2.0\package.json'
│ at Object.statSync (fs.js:1086:3)
│ at _getPackageJson (D:\Projects\vue-promise-dialogs\node_modules\.pnpm\simple-git-hooks@2.2.0\node_modules\simple-git-hooks\simple-git-hooks.js:140:13)
│ at checkSimpleGitHooksInDependencies (D:\Projects\vue-promise-dialogs\node_modules\.pnpm\simple-git-hooks@2.2.0\node_modules\simple-git-hooks\simple-git-hooks
│ at postinstall (D:\Projects\vue-promise-dialogs\node_modules\.pnpm\simple-git-hooks@2.2.0\node_modules\simple-git-hooks\postinstall.js:15:9)
│ at Object.<anonymous> (D:\Projects\vue-promise-dialogs\node_modules\.pnpm\simple-git-hooks@2.2.0\node_modules\simple-git-hooks\postinstall.js:24:1)
│ at Module._compile (internal/modules/cjs/loader.js:1063:30)
│ at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
│ at Module.load (internal/modules/cjs/loader.js:928:32)
│ at Function.Module._load (internal/modules/cjs/loader.js:769:14)
│ at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
│ errno: -4058,
│ syscall: 'stat',
│ code: 'ENOENT',
│ path: 'D:\\Projects\\vue-promise-dialogs\\node_modules\\.pnpm\\simple-git-hooks@2.2.0\\package.json'
│ }
└─ Failed in 127ms
ERROR Command failed with exit code 1.
```
pnpm version: 5.18.7
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (11 by maintainers)
Top Results From Across the Web
Installation | pnpm
You may install pnpm even if you don't have Node.js installed, using the following scripts. ... However, it probably won't be the latest...
Read more >npm install works, pnpm install fails · Issue #2283 - GitHub
Both npm and pnpm commands in the PR description result in getting stuck on the installation step for me, having to exit with...
Read more >How to warn or error when using "npm install" - Stack Overflow
This can be done with packages such as only-allow, only-allow-engines, or only-pnpm. These generally work either via a preinstall script or ...
Read more >pnpm/pnpm - Gitter
Hello, it looks like node-gyp does not work with pnpm@5 due to request/uuid ... pnpm/grpc@1.24.2/node_modules/grpc install: gyp ERR! stack Error ...
Read more >Pnpm does not add dependencies - Glitch Support
I cannot seem to get dependencies to load into my package.json file automatically. By automatically, I mean that when I install the package...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So, will you release this fix?
I tried this, but pnpm installs local tar archives in different way