Skip to content

Error: Cannot find module 'lodash/object/assign' #6

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

Closed
mojtabamarashee opened this issue Sep 9, 2018 · 2 comments
Closed

Error: Cannot find module 'lodash/object/assign' #6

mojtabamarashee opened this issue Sep 9, 2018 · 2 comments

Comments

@mojtabamarashee
Copy link

Hi,
When Execute react-native link react-native-background-timer there is the following error:

Error: Cannot find module 'lodash/object/assign'
    at Function.Module._resolveFilename (module.js:538:15)
    at Function.Module._load (module.js:468:25)
    at Module.require (module.js:587:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (.\react-native-android-widget-poc\node_modules\xmlbuilder\lib\index.js:5:12)
    at Object.<anonymous> (.\react-native-android-widget-poc\node_modules\xmlbuilder\lib\index.js:14:4)
    at Module._compile (module.js:643:30)
    at Module._extensions..js (module.js:654:10)
    at Object.require.extensions.(anonymous function) [as .js] (.\react-native-android-widget-poc\node_modules\babel-register\lib\node.js:152:7)
    at Module.load (module.js:556:32)

How to resolve it?
thanks

@jsdario
Copy link
Member

jsdario commented Sep 10, 2018

Maybe you can try to install npm i lodash separatedly? If you achieve so, please come back and tell.

@mojtabamarashee
Copy link
Author

after npm i lodash it works
thanks

@jsdario jsdario closed this as completed Sep 10, 2018
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