question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rxjs EISDIR: illegal operation on a directory, read

See original GitHub issue

⚠️ IMPORTANT ⚠️ Please do not ignore this template. If you do, your issue will be closed immediately.

Describe the bug

rxjs EISDIR: illegal operation on a directory, read

A clear and concise description of what the bug is. importing rxjs and use it cause EISDIR: illegal operation on a directory, read Screen Shot 2021-03-07 at 10 19 43 PM

Reproduction

  1. yarn add rxjs tslib vite
  2. create index.html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script type="module" src="./index.ts"></script>
</body>
</html>
  1. create index.ts
import { of } from 'rxjs'

of([ 'Hello' ])
  .subscribe(data => console.log(data))

Please provide a link to a repo that can reproduce the problem you ran into. Please see Steps above.

A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will receive “need reproduction” label. If no reproduction is provided after 3 days, it will be auto-closed.

System Info

  • vite version: 2.0.5
  • Operating System: MacOS
  • Node version: 14
  • Package manager (npm/yarn/pnpm) and version: yarn 1.22.4

Logs (Optional if provided reproduction)

  1. Run vite or vite build with the --debug flag.
  2. Provide the error log here. io

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Miguelklappescommented, Mar 22, 2021

I got the same bug, really annoying

2reactions
alex-shamshurincommented, Mar 11, 2021

I have another issue with Rx via esm

image

rxjs@6.6.6/node_modules/rxjs/src/internal/Subscription.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)
Read more comments on GitHub >

github_iconTop Results From Across the Web

FATAL Error: EISDIR: illegal operation on a directory, read
Configuring logger failed: { Error: EISDIR: illegal operation on a directory, read at Object.readSync (fs.js:498:3)
Read more >
angular/angular-cli - Gitter
EISDIR : illegal operation on a directory, read. Error: EISDIR: illegal operation on a directory, read at Error (native) at Object.fs.readSync (fs.js:731:19)
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 >
NPM出现相同的错误EISDIR:对目录的非法操作 - Tencent cloud
... info using npm@2.14.12 3 info using node@v4.2.6 4 verbose stack Error: EISDIR: illegal operation on a directory, read 4 verbose stack at...
Read more >
Next js app on Azure Linux web app - Error eisdir illegal ...
Next js app on Azure Linux web app - Error eisdir illegal operation on a directory read. I am getting an issue with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found