Closed Overtorment closed 4 years ago
oh and the real problem is that ./gradlew assembleRelease
fails with
error Unable to resolve module `stream` from `node_modules/cipher-base/index.js`: stream could not be found within the project.
npm install --production
is a harder to get working in environments where building is a necessary step before running. If you really want to use npm install --production
, why not just move rn-nodeify to dependencies?
oh and the real problem is that ./gradlew assembleRelease fails with
that's because rn-nodeify didn't get to run :)
thanks! that's what I thought but decided to ask just for any case.
I have a project that works fine, with rn-nodeify sitting in
devDependencies
. I tried to donpm install --production
and got:(I have rn-nodeify in my
postinstall
script)How is this supposed to work for production builds?