In my project, after I successfully run "npm install react-native-google-signin --save"
I try to run "react-native link react-native-google-signin" and is getting the following error
Does anyone know what is wrong with it?
Thanks!
module.js:487
throw err;
^
Error: Cannot find module 'fs.realpath'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.
at Module._compile (module.js:569:30)
at Module._extensions..js (module.js:580:10)
at Object.require.extensions.(anonymous function) [as .js] (/.../node_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
Able to resolve this by doing as below.
rm -rf node_modules, npm install, removed the npm lock file
Most helpful comment
Able to resolve this by doing as below.
rm -rf node_modules, npm install, removed the npm lock file