You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice that the second line should match, but doesn't because of the \. For now I've used the following workaround to develop locally, but this fails to compile on non-Windows platforms.
Problem
When using pkgroll on Windows, the node hashbang isn't added to a cli. The issue comes from this line here.
pkgroll/src/utils/rollup-plugins/patch-binary.ts
Line 21 in 4671087
I logged the variables here:
Notice that the second line should match, but doesn't because of the
\
. For now I've used the following workaround to develop locally, but this fails to compile on non-Windows platforms.Expected behavior
Should add the hashbang to the cli on Windows.
Minimal reproduction URL
Version
2.8.2
Node.js version
v22.13.1
Package manager
npm
Operating system
Windows
Bugs are expected to be fixed by those affected by it
Compensating engineering work financially will speed up resolution
The text was updated successfully, but these errors were encountered: