Skip to content

npm run start failed with EISDIR: Illegal operation on directory #12404

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

Open
BacLuc opened this issue May 16, 2022 · 0 comments
Open

npm run start failed with EISDIR: Illegal operation on directory #12404

BacLuc opened this issue May 16, 2022 · 0 comments

Comments

@BacLuc
Copy link

BacLuc commented May 16, 2022

Is your proposal related to a problem?

npm run start (of react-scripts) failed because in a parent directory (in this case the linux home directory) was a directory named package.json.
(with the error EISDIR: illegal operation on a directory).

This bug happens in the package cosmiconfig, which is a transitive dependency of fork-ts-checker-webpack-plugin

Describe the solution you'd like

An update of fork-ts-checker-webpack-plugin to v 7.2.8 in react-dev-tools would fix the issue.

Describe alternatives you've considered

None, updating seems reasonable.

Additional context

The bug is fixed with version 7.0.1 of cosmiconfig (cosmiconfig/cosmiconfig#260).
fork-ts-checker-webpack-plugin already upgraded cosmiconfig (TypeStrong/fork-ts-checker-webpack-plugin#698) and released a version with the fix (TypeStrong/fork-ts-checker-webpack-plugin@6.5.x...v7.2.8).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant