[Solve] Unknown Error on Module.js


I am having this error and i dont know how to solve it.

Someone can help me?

throw err;

Error: Cannot find module 'wordwrap’
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/Users/thiagobutignon/studyapp/node_modules/metro-bundler/src/lib/formatBanner.js:15:16)
at Object. (/Users/thiagobutignon/studyapp/node_modules/metro-bundler/src/lib/formatBanner.js:120:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions…js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)

Solve solution

npm install wordwrap --save

i guess you didn’t install wordwrap?

npm install wordwrap --save

1 Like

i install wordwrap and still don’t working and showing the same error =(

Thanks a lot! Now its working! :slight_smile:

1 Like