-
Notifications
You must be signed in to change notification settings - Fork 857
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
Unable to resolve module util
#296
Comments
@shangxinbo
|
npm install util - solved the first problem but know it shows -> "Can't find variable buffer" :( |
@rfdc I've the same issue, "Can't find variable buffer". |
@tlofano I kind of quit and doing something else atm until it is fixed - which is pretty annoying. |
I run it in react-native project. maybe markdown is used for node ,and can't used by webpack.I know util is a module of node. error like this
The development server returned response error code: 500
URL: http://10.111.23.190:19001/node_modules/react-native-scripts/build/bin/crna-entry.bundle?platform=android&dev=true&strict=false&minify=false&hot=true&assetPlugin=expo/tools/hashAssetFiles
Body:
{"from":"D:\github\treering-mobile\node_modules\markdown\lib\markdown.js","to":"util","message":"Unable to resolve module
util
fromD:\\github\\treering-mobile\\node_modules\\markdown\\lib\\markdown.js
: Module does not exist in the module map\n\nThis might be related to https://github.com/facebook/react-native/issues/4968\nTo resolve try the following:\n 1. Clear watchman watches:watchman watch-del-all
.\n 2. Delete thenode_modules
folder:rm -rf node_modules && npm install
.\n 3. Reset packager cache:rm -fr $TMPDIR/react-*
ornpm start -- --reset-cache
.","name":"UnableToResolveError","type":"UnableToResolveError","errors":[{}]}processBundleResult
BundleDownloader.java:172
access$100
BundleDownloader.java:38
execute
BundleDownloader.java:108
emitChunk
MultipartStreamReader.java:69
readAllParts
MultipartStreamReader.java:116
onResponse
BundleDownloader.java:96
execute
RealCall.java:126
run
NamedRunnable.java:32
runWorker
ThreadPoolExecutor.java:1112
run
ThreadPoolExecutor.java:587
run
Thread.java:841
The text was updated successfully, but these errors were encountered: