Unable to build Cordova application into studio which is building locally
Issue
- Unable to build Cordova application into studio which is building locally
- Unable to Build iOS Application - npm install failure
- Unable to Build Ionic application
- Unable application into studio
Following an example of the issue which can be faced into the studio for this scenario.
2017-08-09T05:35:12+01:00:error:failed to run command: npm ["install","--production"] with return code: 1
2017-08-09T05:35:12+01:00:error:npm WARN deprecated @types/moment@2.13.0: This is a stub types definition for Moment (https://github.com/moment/moment). Moment provides its own type definitions, so you don't need @types/moment installed!
npm WARN engine ionic@3.7.0: wanted: {"node":">=6.4.0"} (current: {"node":"4.4.3","npm":"2.15.2"})
npm WARN deprecated isarray@2.0.1: Just use Array.isArray directly
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
npm WARN peerDependencies The peer dependency browserify@>= 2.3.0 < 4 included from browserify-shim will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
module.js:327
throw err;
^
Error: Cannot find module '@angular/tsc-wrapped/src/tsc'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
Environment
- Red Hat Mobile Application Platform 3.18.2
- Cordova
- NodeJS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
