janetcasarez commented on issue #494: URL: https://github.com/apache/cordova-plugin-file/issues/494#issuecomment-926856284
cordova plugin add https://github.com/breautek/cordova-plugin-file.git#feat/api30 Failed to fetch plugin https://github.com/breautek/cordova-plugin-file.git#feat/api30 via registry. Probably this is either a connection problem, or plugin spec is incorrect. Check your connection and plugin name/version/URL. CordovaError: Error: npm: Command failed with exit code 1 Error output: npm ERR! code ENOENT npm ERR! syscall spawn git npm ERR! path git npm ERR! errno ENOENT npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t https://github.com/breautek/cordova-plugin-file.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent log file below 0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Users\\Janet\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'install', 1 verbose cli 'https://github.com/breautek/cordova-plugin-file.git#feat/api30', 1 verbose cli '--save-dev' ] 2 info using [email protected] 3 info using [email protected] 4 verbose npm-session 0c4216be30d3a5ca 5 silly install loadCurrentTree 6 silly install readLocalPackageData 7 silly fetchPackageMetaData error for git+https://github.com/breautek/cordova-plugin-file.git#feat/api30 Error while executing: 7 silly fetchPackageMetaData undefined ls-remote -h -t https://github.com/breautek/cordova-plugin-file.git 7 silly fetchPackageMetaData 7 silly fetchPackageMetaData 7 silly fetchPackageMetaData spawn git ENOENT 8 timing stage:rollbackFailedOptional Completed in 0ms 9 timing stage:runTopLevelLifecycles Completed in 577ms 10 verbose stack Error: spawn git ENOENT 10 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19) 10 verbose stack at onErrorNT (internal/child_process.js:415:16) 10 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19) 11 verbose cwd D:\AAmyStuff\ABlackStitchCreator\BlackStitchCreator 12 verbose Windows_NT 10.0.19042 13 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Janet\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "https://github.com/breautek/cordova-plugin-file.git#feat/api30" "--save-dev" 14 verbose node v10.18.0 15 verbose npm v6.14.11 16 error code ENOENT 17 error syscall spawn git 18 error path git 19 error errno ENOENT 20 error enoent Error while executing: 20 error enoent undefined ls-remote -h -t https://github.com/breautek/cordova-plugin-file.git 20 error enoent 20 error enoent 20 error enoent spawn git ENOENT 21 error enoent This is related to npm not being able to find a file. 22 verbose exit [ 1, true ] -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
