Skip to content

Instantly share code, notes, and snippets.

@miiihi
Created August 1, 2019 14:18
Show Gist options
  • Save miiihi/3967f3ced0210a1d7297fbfebc7e4016 to your computer and use it in GitHub Desktop.
Save miiihi/3967f3ced0210a1d7297fbfebc7e4016 to your computer and use it in GitHub Desktop.
Sidekick error log
[19-08-01 14:43:42.140] (Info) ab.buildDeploy.ui.pendingRequests - No value provided
[19-08-01 15:44:57.502] (Info) ab.buildDeploy.ui.buildConfigChanged - {"buildConfig":"Debug","buildType":"Cloud","isHmr":true,"platform":"iOS","useSharedCloud":false,"webpack":{"env":{"aot":{"debug":false,"release":true},"snapshot":true,"sourceMap":true,"uglify":true},"isWebpack":true}}
[19-08-01 15:44:57.508] (Info) ab.buildDeploy.ui.pendingRequests - 1
[19-08-01 15:44:57.516] (Info) ab.buildDeploy.shell.requestCertificatesSetup - {"buildRequestsList":[{"buildConfig":"Debug","buildType":"Cloud","codeSigning":{"certificateFromStore":{"friendlyName":"","serialNumber":"5C867D13E6E1A10D","subject":"C=DE, O=Blaz Miheljak, OU=565463XF44, CN=iPhone Developer: Blaz Miheljak (4F7PBCM8R8), OID.0.9.2342.19200300.100.1.1=2H734KTKH3"},"isPasswordRequired":false,"provision":"C:\\Work\\Catenate\\cert\\Hamster_1.mobileprovision"},"isClean":true,"platform":"iOS","useSharedCloud":false,"webpack":{"env":{"aot":false,"snapshot":false,"sourceMap":true,"uglify":false},"isWebpack":true},"isProvisioningRequired":false}]}
[19-08-01 15:44:57.518] (Info) ab.buildDeploy.ui.executeMultipleBuilds - {"buildRequestsList":[{"buildConfig":"Debug","buildType":"Cloud","codeSigning":{"certificateFromStore":{"friendlyName":"","serialNumber":"5C867D13E6E1A10D","subject":"C=DE, O=Blaz Miheljak, OU=565463XF44, CN=iPhone Developer: Blaz Miheljak (4F7PBCM8R8), OID.0.9.2342.19200300.100.1.1=2H734KTKH3"},"isPasswordRequired":false,"provision":"C:\\Work\\Catenate\\cert\\Hamster_1.mobileprovision"},"isClean":true,"platform":"iOS","useSharedCloud":false,"webpack":{"env":{"aot":false,"snapshot":false,"sourceMap":true,"uglify":false},"isWebpack":true}}]}
[19-08-01 15:44:58.138] (Info) ab.certificateStore.shell.setupBuildCertificates - {"buildRequestsList":[{"buildConfig":"Debug","buildType":"Cloud","codeSigning":{"certificateFromStore":{"friendlyName":"","serialNumber":"5C867D13E6E1A10D","subject":"C=DE, O=Blaz Miheljak, OU=565463XF44, CN=iPhone Developer: Blaz Miheljak (4F7PBCM8R8), OID.0.9.2342.19200300.100.1.1=2H734KTKH3"},"isPasswordRequired":false,"provision":"C:\\Work\\Catenate\\cert\\Hamster_1.mobileprovision","certificate":"C:\\Users\\blaz\\AppData\\Local\\Temp\\5eeea5a0-66fa-417b-9f99-64ffbdc2987f.p12","password":"******"},"isClean":true,"platform":"iOS","useSharedCloud":false,"webpack":{"env":{"aot":false,"snapshot":false,"sourceMap":true,"uglify":false},"isWebpack":true},"isProvisioningRequired":false}]}
[19-08-01 15:44:59.118] (Info) ab.childProcessCommunication.shell.cliStdout - Starting Cloud build. Cloud operation id: f7bb84fc-9dcc-423c-abab-60dcea0c70fc
Getting accounts information...
[19-08-01 15:44:59.833] (Info) ab.childProcessCommunication.shell.cliStdout - Using account d58d5dcd-d1b1-4caa-b5ff-e05933d115cb.
Cloud build of 'C:\Work\Catenate\Hamster', platform: 'iOS', configuration: 'Debug'.
[19-08-01 15:44:59.882] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"prepare","progress":0}
[19-08-01 15:44:59.892] (Info) ab.childProcessCommunication.shell.cliStdout - iOS not installed, skipping AppSync hook.
[19-08-01 15:44:59.897] (Info) ab.childProcessCommunication.shell.cliStdout - Preparing project...
[19-08-01 15:45:00.757] (Info) ab.childProcessCommunication.shell.cliStdout - Hooks seem clean, moving on.
[19-08-01 15:45:00.792] (Info) ab.childProcessCommunication.shell.cliStdout - nativescript-zxing build artifacts seem clean, moving on.
[19-08-01 15:46:29.583] (Info) ab.childProcessCommunication.shell.cliStdout - Hash: 0b39638facc9f09a0895
Version: webpack 4.35.2
Time: 84665ms
Built at: 2019-08-01 3:46:29 PM
Asset Size Chunks Chunk Names
assets\icons\arrow.svg 1.12 KiB [emitted]
assets\icons\cancel.png 4.62 KiB [emitted]
assets\icons\cancel.svg 2.08 KiB [emitted]
assets\icons\checked.png 5.71 KiB [emitted]
assets\icons\checked.svg 1.34 KiB [emitted]
assets\icons\icon-128x128.png 3.17 KiB [emitted]
assets\icons\icon-144x144.png 3.6 KiB [emitted]
assets\icons\icon-152x152.png 3.85 KiB [emitted]
assets\icons\icon-192x192.png 5.03 KiB [emitted]
assets\icons\icon-384x384.png 11.7 KiB [emitted]
assets\icons\icon-512x512.png 16.9 KiB [emitted]
assets\icons\icon-72x72.png 1.81 KiB [emitted]
assets\icons\icon-96x96.png 2.32 KiB [emitted]
assets\icons\icon-bottles.png 6.36 KiB [emitted]
assets\icons\icon-bottles.svg 8.15 KiB [emitted]
assets\icons\icon-crates.png 6.48 KiB [emitted]
assets\icons\icon-crates.svg 7.74 KiB [emitted]
assets\icons\icon-qr-code.png 4.26 KiB [emitted]
assets\icons\icon-qr-code.svg 2.25 KiB [emitted]
assets\icons\icon-status.png 5.27 KiB [emitted]
assets\icons\icon-status.svg 1.36 KiB [emitted]
assets\icons\icon-transfer.png 6.92 KiB [emitted]
assets\icons\icon-transfer.svg 6.19 KiB [emitted]
assets\icons\icon-truck.png 6.73 KiB [emitted]
assets\icons\icon-truck.svg 7.79 KiB [emitted]
assets\icons\icon-unload.png 8.55 KiB [emitted]
assets\icons\icon-unload.svg 14 KiB [emitted]
assets\icons\info.png 542 bytes [emitted]
assets\icons\info.svg 445 bytes [emitted]
assets\icons\logo-symbol.png 28.2 KiB [emitted]
assets\icons\logo.svg 13.8 KiB [emitted]
assets\icons\plus.png 197 bytes [emitted]
assets\icons\plus.svg 791 bytes [emitted]
assets\icons\user.png 6.02 KiB [emitted]
assets\icons\user.svg 1.68 KiB [emitted]
bundle.js 612 KiB bundle [emitted] bundle
package.json 133 bytes [emitted]
runtime.js 13.9 KiB runtime [emitted] runtime
tns_modules/tns-core-modules/inspector_modules.js 689 bytes tns_modules/tns-core-modules/inspector_modules [emitted] tns_modules/tns-core-modules/inspector_modules
vendor.js 25 MiB vendor [emitted] vendor
Entrypoint bundle = runtime.js vendor.js bundle.js
Entrypoint tns_modules/tns-core-modules/inspector_modules = runtime.js vendor.js tns_modules/tns-core-modules/inspector_modules.js
[../../../$$_lazy_route_resource lazy recursive] C:/Work/Catenate/Hamster/$$_lazy_route_resource lazy namespace object 160 bytes {bundle} [built]
[../../../node_modules/css-loader/dist/cjs.js?!./ns-custom-theme.css] C:/Work/Catenate/Hamster/node_modules/css-loader/dist/cjs.js??ref--7-1!./ns-custom-theme.css 3.24 KiB {bundle} [built]
[../../../node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 497 bytes {vendor} [built]
[../../../src/auth/URL-SEGMENTS.js] C:/Work/Catenate/Hamster/src/auth/URL-SEGMENTS.js 112 bytes {bundle} [built]
[../../../src/auth/auth.service.ts] C:/Work/Catenate/Hamster/src/auth/auth.service.ts 9.3 KiB {bundle} [built]
[../../../src/aws-exports.js] C:/Work/Catenate/Hamster/src/aws-exports.js 1.32 KiB {bundle} [built]
[../../../src/tns/angular/dom-sanitizer/dom-sanitizer.service.tns.ts] C:/Work/Catenate/Hamster/src/tns/angular/dom-sanitizer/dom-sanitizer.service.tns.ts 289 bytes {bundle} [built]
[../../../src/tns/utils/web-view-opener.ts] C:/Work/Catenate/Hamster/src/tns/utils/web-view-opener.ts 3.26 KiB {bundle} [built]
[./app.sass] 1.34 KiB {bundle} [built]
[./app/COMPONENTS.ts] 1.49 KiB {bundle} [built]
[./app/app-routing.module.tns.ts] 507 bytes {bundle} [built]
[./app/app.component.ts] 302 bytes {bundle} [built]
[./app/app.module.ts] 3.47 KiB {bundle} [built]
[./app/services/router-helper/router-helper.service.ts] 873 bytes {bundle} [built]
[./main.ts] 2.06 KiB {bundle} [built]
+ 1057 hidden modules
[19-08-01 15:46:29.585] (Info) ab.childProcessCommunication.shell.cliStdout - Webpack compilation complete.
[19-08-01 15:46:31.874] (Info) ab.childProcessCommunication.shell.cliStdout - Project successfully prepared (ios)
[19-08-01 15:46:31.883] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"prepare","progress":100}
[19-08-01 15:46:31.885] (Info) ab.buildDeploy.shell.cloudBuildStep - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"prepare","progress":100}
[19-08-01 15:46:32.739] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"upload","progress":0}
[19-08-01 15:46:38.530] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"upload","progress":100}
[19-08-01 15:46:38.532] (Info) ab.buildDeploy.shell.cloudBuildStep - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"upload","progress":100}
[19-08-01 15:46:40.464] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"build","progress":0}
[19-08-01 15:46:55.912] (Info) ab.childProcessCommunication.shell.cliStdout - ios Build Tooling revision 2019.05.31.1r
Build Tooling Hostname administrators-mac-19.local
App package not specified. Skipping unzip step.
NativeScript CLI version 6.0.2
Add platform ios with runtime version 6.0.1
[19-08-01 15:46:58.893] (Info) ab.childProcessCommunication.shell.cliStdout - Copying template files...
[19-08-01 15:47:03.406] (Info) ab.childProcessCommunication.shell.cliStdout - Platform ios successfully added. v6.0.1
Prepare Project for Platform - ios
[19-08-01 15:48:12.457] (Info) ab.childProcessCommunication.shell.cliStdout - Command npm failed with exit code 255 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
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/
npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall access
npm ERR! Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules'
npm ERR! { [Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, access \\'/usr/local/lib/node_modules\\'',
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-08-01T13_48_14_492Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! nativescript-app-sync@1.0.3 postinstall: `node postinstall-hooks.js && npm i -g nativescript-app-sync-cli`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the nativescript-app-sync@1.0.3 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-08-01T13_48_16_980Z-debug.log
# tns prepare
### Description
Starts a Webpack compilation and prepares the app's App_Resources and the plugins platforms directories. The output is generated in a subdirectory for the selected target platform in the platforms directory. This lets you build the project for the selected platform. You must specify the target platform for which you want to prepare your project.
When running this command the HMR (Hot Module Replacement) is not enabled by default. In case you want to enable HMR, you can pass --hmr flag.
### Commands
┌─────────┬──────────────────────────┐
│ Usage │ Synopsis │
│ General │ $ tns prepare <Platform> │
└─────────┴──────────────────────────┘
### Arguments
<Platform> is the target mobile platform for which you want to prepare your project. You can set the following target platforms.
* android - Prepares your project for an Android build.
* ios - Prepares your project for an iOS build.
### Options
* --hmr - Enables the hot module replacement (HMR) feature.
* --force - If set, skips the application compatibility checks and forces npm i to ensure all dependencies are installed. Otherwise, the command will check the application compatibility with the current CLI version and could fail requiring tns migrate.
[19-08-01 15:48:19.986] (Info) ab.childProcessCommunication.shell.cliStdout - Command npm failed with exit code 255 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
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/
npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall access
npm ERR! Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules'
npm ERR! { [Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, access \\'/usr/local/lib/node_modules\\'',
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-08-01T13_48_14_492Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! nativescript-app-sync@1.0.3 postinstall: `node postinstall-hooks.js && npm i -g nativescript-app-sync-cli`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the nativescript-app-sync@1.0.3 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-08-01T13_48_16_980Z-debug.log
[19-08-01 15:48:41.375] (Info) ab.buildDeploy.shell.cloudBuildStepChanged - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"build","progress":100}
[19-08-01 15:48:41.378] (Info) ab.buildDeploy.shell.cloudBuildStep - {"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc","step":"build","progress":100}
[19-08-01 15:48:41.382] (Error) ab.buildDeploy.shell.build - Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:01:17.826] [WARN] Command npm failed with exit code 255 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
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/
npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall access
npm ERR! Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules'
npm ERR! { [Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, access \'/usr/local/lib/node_modules\'',
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-08-01T13_48_14_492Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! nativescript-app-sync@1.0.3 postinstall: `node postinstall-hooks.js && npm i -g nativescript-app-sync-cli`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the nativescript-app-sync@1.0.3 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-08-01T13_48_16_980Z-debug.log
[00:01:25.153] [ERROR] Command npm failed with exit code 255 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
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/
npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall access
npm ERR! Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules'
npm ERR! { [Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, access \'/usr/local/lib/node_modules\'',
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-08-01T13_48_14_492Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! nativescript-app-sync@1.0.3 postinstall: `node postinstall-hooks.js && npm i -g nativescript-app-sync-cli`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the nativescript-app-sync@1.0.3 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-08-01T13_48_16_980Z-debug.log
'Build failed with error code 2'., Error: Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:01:17.826] [WARN] Command npm failed with exit code 255 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
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/
npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall access
npm ERR! Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules'
npm ERR! { [Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, access \'/usr/local/lib/node_modules\'',
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-08-01T13_48_14_492Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! nativescript-app-sync@1.0.3 postinstall: `node postinstall-hooks.js && npm i -g nativescript-app-sync-cli`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the nativescript-app-sync@1.0.3 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-08-01T13_48_16_980Z-debug.log
[00:01:25.153] [ERROR] Command npm failed with exit code 255 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
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/
npm WARN deprecated superagent@3.8.3: Please note that v5.0.1+ of superagent removes User-Agent header by default, therefore you may need to add it yourself (e.g. GitHub blocks requests without a User-Agent header). This notice will go away with v5.0.2+ once it is released.
npm WARN deprecated socks@1.1.10: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules
npm ERR! code EPERM
npm ERR! errno -1
npm ERR! syscall access
npm ERR! Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules'
npm ERR! { [Error: EPERM: operation not permitted, access '/usr/local/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EPERM: operation not permitted, access \'/usr/local/lib/node_modules\'',
npm ERR! errno: -1,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/builder/.npm/_logs/2019-08-01T13_48_14_492Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! nativescript-app-sync@1.0.3 postinstall: `node postinstall-hooks.js && npm i -g nativescript-app-sync-cli`
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the nativescript-app-sync@1.0.3 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-08-01T13_48_16_980Z-debug.log
'Build failed with error code 2'.
at Errors.fail (C:\Users\blaz\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\common\errors.js:126:28)
at Errors.failWithoutHelp (C:\Users\blaz\AppData\Roaming\nvm\v10.16.0\node_modules\nativescript\lib\common\errors.js:136:21)
at CloudBuildService.<anonymous> (C:\Users\blaz\AppData\Roaming\.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-build-service.js:143:30)
at Generator.next (<anonymous>)
at fulfilled (C:\Users\blaz\AppData\Roaming\.nativescript-cli\extensions\node_modules\nativescript-cloud\lib\services\cloud-build-service.js:4:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
Dump: {"platform":"iOS","buildConfig":"Debug","buildType":"Cloud","isClean":true,"useSharedCloud":false,"webpack":{"isWebpack":true,"env":{"aot":false,"snapshot":false,"uglify":false,"sourceMap":true}},"devicesCount":0,"cloudOperationId":"f7bb84fc-9dcc-423c-abab-60dcea0c70fc"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment