rn-nodeify: Unable to resolve module `constants` from ..node_modules/touch/touch.js
Hi, great project! 😃
I’m currently try to get it running with a new expo project. I already install several modules, but now there seems to be a hiccup with “constants”.
"<projectpath>\\node_modules\\touch\\touch.js","to":"constants","message":"Unable to resolve module "constants" from "<projectpath>\\node_modules\\touch\\touch.js": Module does not exist in the module map or in these directories
(modified to make it readable at github )
I installed it via
"postinstall": "rn-nodeify --install fs,buffer,path,util,events,crypto,constants --hack"
I’m on windows. I’m happy to provide any more info to make this work.
Thx
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (17 by maintainers)
@JoeSchr sure, submit a PR 😃 I’ll be pushing a few things in a bit too
@mvayngrib No, I isn’t overwriting it. I fixed the version number in the shims file like you told me. If you want I can at least submit a PR where I updated the version numbers of constants-browserify?
@ your build time: good to know, that gives me hope once I got in all the dependencies and compatibility. Just now I have to stop the packager, because I have to npm i constants-browserify everytime. So writing stuff takes forever