-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect work on Linux (Error:
resolve must be run directly as an executable
)
#316
Comments
ljharb
added a commit
that referenced
this issue
Sep 15, 2023
ljharb
added a commit
that referenced
this issue
Sep 15, 2023
ljharb
added a commit
that referenced
this issue
Sep 15, 2023
v1.22.6 - [Fix] allow `npx resolve` to work (#316) - [actions] use reusable rebase action
ljharb
added a commit
that referenced
this issue
Oct 10, 2023
Changes since v2.0.0-next.4: - [Fix] fix `npx resolve` by handling symlinks (#315) - [Fix] allow `npx resolve` to work (#316) - [Tests] rename innocent test project to avoid flawed security scanners - [Tests] avoid publishing "malformed package.json" test to avoid flawed security scanners Including all changes in v1.20.2 - v1.22.8 v1.22.8 - [Tests] rename innocent test project to avoid flawed security scanners v1.22.7 - [Tests] avoid publishing "malformed package.json" test to avoid flawed security scanners v1.22.6 - [Fix] allow `npx resolve` to work (#316) - [actions] use reusable rebase action v1.22.5 - [Fix] fix `npx resolve` by handling symlinks (#315) - [Dev Deps] update `array.prototype.map` v1.22.4 - Revert "[Refactor] deprecated `lib/core.js` now uses data from `is-core-module` also" - [Deps] update `is-core-module` - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `semver`, `tape` - [meta] commit published core.json data v1.22.3 - [Refactor] deprecated `lib/core.js` now uses data from `is-core-module` also - [Deps] update `is-core-module` v1.22.2 - [Refactor] deprecated `lib/core.js` now uses `is-core-module` - [meta] cp core.json on prepack instead of prepublishOnly - [Deps] update `is-core-module` - [Dev Deps] update `@ljharb/eslint-config`, `aud`, `tape`, `array.prototype.map`
This was referenced Sep 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As continue to #315
I faced a problem, when locally(on Mac) everything works, and on CI (Linux) - not I got
Error:
resolvemust be run directly as an executable
after some investigation I discovered that
gives me different results in section
_ (process.env._)
On Mac (locally):
On Linux (I used github codespaces to reproduce):
Steps to reproduce:
npm init -y
resolve
withyarn add resolve@latest
yarn run resolve 123
npx resolve 123
The text was updated successfully, but these errors were encountered: