max-mapper / max-mapper/websocket-stream
no such file or directory, open 'stream'
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 667
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
Initially reported in https://github.com/calvinmetcalf/rollup-plugin-node-builtins/issues/31#issuecomment-312427554, the following error is really weird:
node_modules/websocket-stream/stream.js🚨 Could not load stream (imported by /home/michael-heuberger/code/videomail-client/node_modules/websocket-stream/stream.js): ENOENT: no such file or directory, open 'stream'
looks like the es6 bundler rollup is trying to find the stream.js file but can't find it. But it does exist in your repo. Btw I have aliased it like that readable-stream:'stream'
Not sure if websocket-stream can be bundled at all with rollup?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure involving websocket-stream/stream.js with the reported Rollup setup and the readable-stream:'stream' alias. Inspect how the stream import is resolved and determine whether websocket-stream can bundle successfully; done means the reported ENOENT is fixed or the incompatibility is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, rollup
- Domain
- build-system, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100