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

Module Not Found Error assert/assert.js #218

Closed
ashinzekene opened this issue Apr 3, 2020 · 5 comments
Closed

Module Not Found Error assert/assert.js #218

ashinzekene opened this issue Apr 3, 2020 · 5 comments
Labels
question Further information is requested

Comments

@ashinzekene
Copy link

I get this error when I import the project

Could not find module in path: 'assert/assert.js' relative to '/node_modules/peek-readable/lib/index.js'

https://codesandbox.io/s/cool-rain-jwecy

@Borewit Borewit added the question Further information is requested label Apr 3, 2020
@Borewit
Copy link
Owner

Borewit commented Apr 3, 2020

What if you import that module?

npm install assert

Some default node.js dependencies need to be explicitly included in a browser environment.

@ashinzekene
Copy link
Author

Same error. I updated the codesandbox

@Borewit
Copy link
Owner

Borewit commented Apr 5, 2020

I am very busy at the moment, please be patient.

@ashinzekene
Copy link
Author

I think the issue only occurs on codesandbox

@vatsalm30
Copy link

Hey, I have the same error in vscode, did you get it fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants