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
we use a monorepo with several workspaces. We extracted linting and web into separate workspaces in order to share lint configurations across multiple workspaces in the monorepo. We use yarn and vite with the oxlint and eslint plugin.
When running vite in dev mode I see this error:
command not found: oxlint
Oxlint finished with exit code: 127
This seems fairly new to me. It has worked in previous versions.
We are currently running "vite-plugin-oxlint": "^1.3.3" and "oxlint": "^0.17.0".
Previous versions that worked in our monorepo setup were "vite-plugin-oxlint": "^1.2.2" and "oxlint": "^0.15.10".
What I can see is that it is tried to run oxlint and cannot find the binary. However, it is available in the repository root node_modules/.bin directory. There is not option to configure the path to the oxlint binary.
Is there a suggested approach to usage within monorepos now?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hi,
we use a monorepo with several workspaces. We extracted linting and web into separate workspaces in order to share lint configurations across multiple workspaces in the monorepo. We use yarn and vite with the oxlint and eslint plugin.
When running vite in dev mode I see this error:
This seems fairly new to me. It has worked in previous versions.
We are currently running
"vite-plugin-oxlint": "^1.3.3"and"oxlint": "^0.17.0".Previous versions that worked in our monorepo setup were
"vite-plugin-oxlint": "^1.2.2"and"oxlint": "^0.15.10".What I can see is that it is tried to run
oxlintand cannot find the binary. However, it is available in the repository rootnode_modules/.bindirectory. There is not option to configure the path to the oxlint binary.Is there a suggested approach to usage within monorepos now?
Kind Regards
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions