_hyperscript icon indicating copy to clipboard operation
_hyperscript copied to clipboard

PNPM Cannot Create link to _hyperscript in node_modules/.bin

Open PapiPeppers opened this issue 3 years ago • 2 comments

Noticed this when upgrading to 0.9.7. PNPM upgrades, but warns that the hyperscript module has not been placed into the pnpm /bin. In your package.json, the "bin" section needs to remove the /bin/ from within "src/bin/node-hyperscript.js." Once I made this change, pnpm functioned without issue and hyperscript gets copied into the bin.

20220718-230331

PapiPeppers avatar Jul 19 '22 03:07 PapiPeppers

We can't install via NPM 0.9.6 and 0.9.7 version because that was broken in that commit https://github.com/bigskysoftware/_hyperscript/commit/ccadc2cc2df981fc6d9db927753a059b69aa418c.

NPM: v6.14.15

DmytroLitvinov avatar Dec 02 '22 10:12 DmytroLitvinov

I encountered the same problem today with pnpm v8.9.2.

WARN  Failed to create bin at C:\Users\...\node_modules\.bin\_hyperscript. ENOENT: no such file or directory, stat 'C:\Users\...\node_modules\hyperscript.org\src\bin\node-hyperscript.js.EXE'

lnoss avatar Oct 24 '23 14:10 lnoss