Error Packaging


#1

I get the following error when packaging my App for Android:

> node@9.1.0 preinstall /usr/src/app/node_modules/.staging/node-6c45f273 
> node installArchSpecificPackage

module.js:471 
throw err; 
^

Error: Cannot find module 'node-bin-setup' 
at Function.Module._resolveFilename (module.js:469:15) 
at Function.Module._load (module.js:417:25) 
at Module.require (module.js:497:17) 
at require (internal/module.js:20:19) 
at Object. (/usr/src/app/node_modules/.staging/node-6c45f273/installArchSpecificPackage.js:1:63) 
at Module._compile (module.js:570:32) 
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)

Something similiar happens with IOS Packaging


npm ERR! node v6.11.0 
npm ERR! npm v3.10.10 
npm ERR! code ELIFECYCLE

npm ERR! node@9.1.0 preinstall: `node installArchSpecificPackage` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the node@9.1.0 preinstall script 'node installArchSpecificPackage'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the node package, 
npm ERR! not with npm itself.

I can easily package the apps with xcode or over console on my computer.