Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
A coworker just ran this:
npx cordova platform add --link ../cordova-ios/
It failed with this error:
Warning: using prerelease version 8.0.1-nightly.2018.6.26.77b7324f (cordova-lib@8.0.1-nightly.2018.6.26.da4b4b37) { CordovaError: Could not determine package name from output: up to date in 6.878s [!] 3 vulnerabilities found [2885 packages audited] Severity: 3 low Run `npm audit` for more detail/usr/local/lib/node_modules/cordova-ios -> /Projects/cordova-ios /Projects/launch-cordova-test/node_modules/cordova-ios -> /usr/local/lib/node_modules/cordova-ios -> /Projects/cordova-ios at getTargetPackageSpecFromNpmInstallOutput (/Projects/launch-cordova-test/node_modules/cordova-fetch/index.js:97:15) at _fulfilled (/Projects/launch-cordova-test/node_modules/q/q.js:854:54) at /Projects/launch-cordova-test/node_modules/q/q.js:883:30 at Promise.promise.promiseDispatch (/Projects/launch-cordova-test/node_modules/q/q.js:816:13) at /Projects/launch-cordova-test/node_modules/q/q.js:624:44 at runSingle (/Projects/launch-cordova-test/node_modules/q/q.js:137:13) at flush (/Projects/launch-cordova-test/node_modules/q/q.js:125:13) at process._tickCallback (internal/process/next_tick.js:172:11) name: 'CordovaError', message: 'Could not determine package name from output:\nup to date in 6.878s\n[!] 3 vulnerabilities found [2885 packages audited]\n Severity: 3 low\n Run `npm audit` for more detail\n\n/usr/local/lib/node_modules/cordova-ios -> /Projects/cordova-ios\n/Projects/launch-cordova-test/node_modules/cordova-ios -> /usr/local/lib/node_modules/cordova-ios -> /Projects/cordova-ios', code: 0, context: undefined }
Attachments
Issue Links
- is related to
-
CB-14177 Remove all usage of opts.link when calling cordova-fetch
-
- Closed
-
- links to