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

Error: Unable to resolve "./util.inspect" in swell.umd.min.js #172

Closed
robwalkerco opened this issue Apr 15, 2024 · 2 comments
Closed

Error: Unable to resolve "./util.inspect" in swell.umd.min.js #172

robwalkerco opened this issue Apr 15, 2024 · 2 comments

Comments

@robwalkerco
Copy link
Contributor

robwalkerco commented Apr 15, 2024

After updating swell-js from 4.0.0 to 4.0.1 we are getting the following error when using swell-js in React Native:

Unable to resolve "./util.inspect" from "node_modules/swell-js/dist/swell.umd.min.js"

This is caused by the following code in node_modules/swell-js/dist/swell.umd.min.js

...
var utilInspect = require('./util.inspect');
var inspectCustom = utilInspect.custom;
var inspectSymbol = isSymbol$1(inspectCustom) ? inspectCustom : null;
...

I tried to see what change between those versions to cause this issue, but its not obvious to me, so hopefully you may know!

@awwit
Copy link
Contributor

awwit commented Apr 24, 2024

@robwalkerco thanks for the bug report! This was fixed in v4.1.0.

@robwalkerco
Copy link
Contributor Author

Thanks for fixing

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

No branches or pull requests

2 participants