Skip to content
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

Build error Can't resolve 'readable-stream/writable.js' #6673

Open
nadendlaprasad opened this issue Dec 1, 2020 · 2 comments
Open

Build error Can't resolve 'readable-stream/writable.js' #6673

nadendlaprasad opened this issue Dec 1, 2020 · 2 comments

Comments

@nadendlaprasad
Copy link

nadendlaprasad commented Dec 1, 2020

which version of node to use ? I have tried with Node -14.x.x and 15.x.x and both failed to compile

Module not found: Error: Can't resolve 'readable-stream/writable.js' in '/node_modules/stream-browserify'
@ ./node_modules/stream-browserify/index.js 29:18-56
@ ./node_modules/swagger-ui-react/swagger-ui.js
@ ./node_modules/swagger-ui-react/index.js

Package referenced swagger-ui-react- 3.37.2

@tim-lai
Copy link
Contributor

tim-lai commented Dec 9, 2020

Hi, you should be able to build on on Node 12 and Node 14. From what you provided, it looks like an issue with stream-browserify. I suggest try deleting the node_modules directory and re-running npm i.

@nadendlaprasad
Copy link
Author

I built with node 12 and it's same issue. fyi- removed node_modules and re ran npm install

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

2 participants