tradle / rn-nodeify

hack to allow react-native projects to use node core modules, and npm modules that use them
MIT License
619 stars 112 forks source link

Seems broken on Windows ..? #39

Open jayesbe opened 7 years ago

jayesbe commented 7 years ago

C:\src\app>npm run build:crypto-shim

App@0.0.1 build:crypto-shim C:\src\app node ./node_modules/.bin/rn-nodeify --hack --install

C:\src\app\node_modules.bin\rn-nodeify:2 basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')") ^^^^^^^ SyntaxError: missing ) after argument list at Object.exports.runInThisContext (vm.js:76:16) at Module._compile (module.js:542:28) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:394:7) at startup (bootstrap_node.js:149:9) at bootstrap_node.js:509:3

mvayngrib commented 6 years ago

@jayesbe sorry i missed this, but I don't see that code anywhere in rn-nodeify!

nouman91 commented 3 years ago

Same issue happening with me as well. Following are my setup details:

react-native: 0.63.2 node: 11.15.0 rn-nodify 10.3.0

cinnamonpon commented 1 year ago

Same issue happening with me as well. Following are my setup details:

react-native: 0.63.2 node: 11.15.0 rn-nodify 10.3.0

@nouman91 were you able to resolve it?