Inject /node_modules/.bin into PATH to mimic npm/pnpm/yarn scripts behaviour
gajus opened this issue ยท 1 comments
gajus commented
At the moment, if spawn
scripts are referencing locally installed npm executables, they are going to be not found.
spawn`tsx`
will produce "tsx program not found"
Users can workaround this by prefixing them with pnpm
(or whatever package manager), e.g.
spawn`pnpm tsx`
However, we should consider matching pnpm
behaviour and just inject the appropriate path.
github-actions commented
๐ This issue has been resolved in version 2.18.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐