Did you verify whether this issue has already been reported here?
Yes
Tell us about the problem
I'm trying to build on Cloud for iOS but I get the error below.
Early my nodejs version was 10.16.0 and npm version was 6.9.2.
Then I tried to downgrade and now my nodejs version is 9.11.2 and npm version is 5.6.0... but same error.
No problem with Android build via usb with my Asus Zenfone with both versions of nodejs and npm.
Tell us how to recreate the issue in as much detail as possible
Run -> Build
Target Platform = iOS
Build type = Cloud
Configuration = Debug
Clean Build checked
Does this issue happen every time?
Yes (for iOS only)
Send the client logs
[19-06-28 21:10:12.760] Build failed. Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:28.922] [WARN] Unable to install dependencies. Make sure your package.json is valid and all dependencies are correct. Error is: Command npm failed with exit code 1 Error output:
npm WARN npm npm does not support Node.js v10.16.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
node-pre-gyp WARN Using request for node-pre-gyp https download
/private/tmp/builds/_/e183131912e0350f1007e8c358f065080303af3f/5.4.2/5.4.2/app/node_modules/@vue/devtools/node_modules/electron/install.js:48
throw err
^
Error: EPERM: operation not permitted, mkdir '/Users/builder/.electron'
npm WARN app@0.0.1 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@1.7.16 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.7.16 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-06-28T19_10_02_426Z-debug.log
[00:00:30.347] [ERROR] Unable to install dependencies. Make sure your package.json is valid and all dependencies are correct. Error is: Command npm failed with exit code 1 Error output:
npm WARN npm npm does not support Node.js v10.16.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
node-pre-gyp WARN Using request for node-pre-gyp https download
/private/tmp/builds/_/e183131912e0350f1007e8c358f065080303af3f/5.4.2/5.4.2/app/node_modules/@vue/devtools/node_modules/electron/install.js:48
throw err
^
Error: EPERM: operation not permitted, mkdir '/Users/builder/.electron'
npm WARN app@0.0.1 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron@1.7.16 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@1.7.16 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-06-28T19_10_02_426Z-debug.log
'Build failed with error code 2'.
Please, provide the details below:
Did you verify whether this issue has already been reported here?
Yes
Tell us about the problem
I'm trying to build on Cloud for iOS but I get the error below. Early my nodejs version was 10.16.0 and npm version was 6.9.2. Then I tried to downgrade and now my nodejs version is 9.11.2 and npm version is 5.6.0... but same error. No problem with Android build via usb with my Asus Zenfone with both versions of nodejs and npm.
this is my package.json file:
Which platform(s) does the issue occur on?
Windows 10
Provide the following version numbers that the issue occurs with:
Tell us how to recreate the issue in as much detail as possible
Run -> Build Target Platform = iOS Build type = Cloud Configuration = Debug Clean Build checked
Does this issue happen every time?
Yes (for iOS only)
Send the client logs