eisdir: illegal operation on a directory, read
See original GitHub issueVersions
- nuxt: v2.15.8
- jiti: v1.12.13, v1.12.12 (v1.12.11 and v1.12.10 yield a different issue)
- node: v16.13.0
Apparently this is Windows only:
I haven’t been able to reproduce on MacOS using node v16.3.0 (then my MacBook BSOD’d as I was going to try on v16.13.0 so I gave up using this computer for now)
Steps to reproduce
npx create-nuxt-app
npm run dev
What is expected?
Nuxt should work(?)
What is actually happening?
Downgrading jiti to v1.12.12 yields the same issue
Downgrading jiti to v1.12.11 or v1.12.10 yield an Unexpected token 'import'
issue
Downgrading jiti to v1.12.9 fixes the issue
Bug is likely a regression from yesterday’s changes.
Cheers 💐
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
NPM stuck giving the same error EISDIR: Illegal operation on ...
EISDIR stands for "Error, Is Directory". This means that NPM is trying to do something to a file but it is a directory....
Read more >Error: EISDIR: illegal operation on a directory, read · Issue #658
What is the current behavior? I have an project which is a react native project called th_views.rn and in the project there's a...
Read more >NPM stuck giving the same error EISDIR: Illegal operation on ...
Windows : NPM stuck giving the same error EISDIR : Illegal operation on a directory, read at error (native) [ Beautify Your Computer ......
Read more >EISDIR: illegal operation on a directory when enable Remote ...
Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:614:3) at tryReadSync (fs.js:383:20) at Object.
Read more >eisdir: illegal operation on a directory - You.com
EISDIR stands for "Error, Is Directory". This means that yarn is trying to do something to a file but it is a directory....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Works 🎉 Thanks ♥ And yes ^^’ It’s an interesting time for ESM
I guess guessed the issue 😄