Alex created CB-13619:
-------------------------
Summary: cordova plugin add failing "no such file or directory
file:tools"
Key: CB-13619
URL: https://issues.apache.org/jira/browse/CB-13619
Project: Apache Cordova
Issue Type: Bug
Components: cordova-cli
Affects Versions: [email protected]
Environment: OSX 10.12.5
alex@alex ~/P/e/tracking> cordova -v
7.1.0
Reporter: Alex
After plugins correctly installing for weeks, adding new plugins is suddenly
failing with the following:
{code:java}
alex@alex ~/P/e/tracking> cordova plugin add cordova-plugin-firebase
Error: Failed to fetch plugin cordova-plugin-firebase via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
Error: npm: Command failed with exit code 254 Error output:
npm WARN [email protected] No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY:
cordova-serve@file:file:tools/cordova-serve-2.0.0.tgz
(node_modules/cordova-browser/node_modules/cordova-serve):
npm WARN enoent SKIPPING OPTIONAL DEPENDENCY: ENOENT: no such file or
directory, stat
'/Users/alex/Projects/experiments/tracking/file:tools/cordova-serve-2.0.0.tgz'
npm ERR! path
/Users/alex/Projects/experiments/tracking/file:cordova-dist/tools/cordova-common-2.1.1.tgz
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall stat
npm ERR! enoent ENOENT: no such file or directory, stat
'/Users/alex/Projects/experiments/tracking/file:cordova-dist/tools/cordova-common-2.1.1.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/alex/.npm/_logs/2017-11-30T15_01_20_854Z-debug.log
{code}
It keeps trying to find /file:tools/ inside the root of my project. It doesn't
matter which plugin I try to install
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]