2016-11-25 7 views
-1

ヘルプ!ENOTFOUND ng-cordovaパッケージが見つかりません

私は既存のCordovaアプリケーションをVisual Studio 2015にインポートしようとしています。依存関係を更新しようとすると(プロジェクトエクスプローラの依存関係ノードを右クリックして、そして、私は出力にこのメッセージが表示されます)「のパッケージを復元する」を選択:

私は、コマンドプロンプトに行って、走っ

見つからないNG-コルドバENOTFOUNDパッケージ:

npm install -g ng-cordova 

結果は以下のとおりであった:

npm WARN deprecated [email protected]: Please update conventional-changelog to >1.0.0. If you are running the cli, use conventional-changelog-cli 
[email protected] C:\Users\myuser\AppData\Roaming\npm\node_modules\ng-cordova 
├── [email protected] 
├── [email protected] 
├── [email protected] ([email protected], [email protected]) 
└── [email protected] ([email protected], [email protected], [email protected], [email protected]) 

は、その仕事をしましたか?

は、私はその後、走っ:

bower install 

はまだメッセージを得た:

NG-コルドバここ

がフル出力では見られないENOTFOUNDパッケージ:

bower      invalid-meta bower      invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes 
bower font-awesome#~4.3.0 not-cached https://github.com/FortAwesome/Font-Awesome.git#~4.3.0 
bower font-awesome#~4.3.0  resolve https://github.com/FortAwesome/Font-Awesome.git#~4.3.0 
bower parse-js-sdk#~1.4.0  cached https://github.com/albemuth/parse-js-sdk.git#1.4.2 
bower parse-js-sdk#~1.4.0  validate 1.4.2 against https://github.com/albemuth/parse-js-sdk.git#~1.4.0 
bower angular#~1.2    cached https://github.com/angular/bower-angular.git#1.2.32 
bower angular#~1.2   validate 1.2.32 against https://github.com/angular/bower-angular.git#~1.2 
bower bootstrap#~3.2.0   cached https://github.com/twbs/bootstrap.git#3.2.0 
bower bootstrap#~3.2.0  validate 3.2.0 against https://github.com/twbs/bootstrap.git#~3.2.0 
bower angular-cookies#~1.2  cached https://github.com/angular/bower-angular-cookies.git#1.2.32 
bower angular-cookies#~1.2 validate 1.2.32 against https://github.com/angular/bower-angular-cookies.git#~1.2 
bower angular-resource#~1.2  cached https://github.com/angular/bower-angular-resource.git#1.2.32 
bower angular-resource#~1.2 validate 1.2.32 against https://github.com/angular/bower-angular-resource.git#~1.2 
bower angular-mocks#~1.2  cached https://github.com/angular/bower-angular-mocks.git#1.2.32 
bower angular-mocks#~1.2  validate 1.2.32 against https://github.com/angular/bower-angular-mocks.git#~1.2 
bower angular-animate#~1.2  cached https://github.com/angular/bower-angular-animate.git#1.2.32 
bower angular-animate#~1.2 validate 1.2.32 against https://github.com/angular/bower-angular-animate.git#~1.2 
bower angular-bootstrap#~0.10.0 cached https://github.com/angular-ui/bootstrap-bower.git#0.10.0 
bower angular-bootstrap#~0.10.0   validate 0.10.0 against https://github.com/angular-ui/bootstrap-bower.git#~0.10.0 
bower angular-sanitize#~1.2    cached https://github.com/angular/bower-angular-sanitize.git#1.2.32 
bower angular-sanitize#~1.2    validate 1.2.32 against https://github.com/angular/bower-angular-sanitize.git#~1.2 
bower angular-touch#~1.2     cached https://github.com/angular/bower-angular-touch.git#1.2.32 
bower angular-touch#~1.2    validate 1.2.32 against https://github.com/angular/bower-angular-touch.git#~1.2 
bower angular-ui-router#~0.2.10   cached https://github.com/angular-ui/angular-ui-router-bower.git#0.2.18 
bower angular-ui-router#~0.2.10   validate 0.2.18 against https://github.com/angular-ui/angular-ui-router-bower.git#~0.2.10 
bower moment#~2.10.2      cached https://github.com/moment/moment.git#2.10.6 
bower moment#~2.10.2     validate 2.10.6 against https://github.com/moment/moment.git#~2.10.2 
bower angular-ui-utils#~0.1.1    cached https://github.com/angular-ui/ui-utils.git#0.1.1 
bower angular-ui-utils#~0.1.1   validate 0.1.1 against https://github.com/angular-ui/ui-utils.git#~0.1.1 
bower font-awesome#~4.3.0    download https://github.com/FortAwesome/Font-Awesome/archive/v4.3.0.tar.gz 
bower font-awesome#~4.3.0    extract archive.tar.gz 
bower ng-cordova#~0.0.3    **ENOTFOUND Package ng-cordova not found** 

私は、(ハイフンなし)をngcordovaをインストールしない試してみました:

bower install ngcordova 

出力はまだあり:

亭のNG-コルドバ#〜0.0.3はENOTFOUNDパッケージNG-コルドバ

が見つかりません

ご協力いただければ幸いです。 ありがとう!

+0

のようなエラーメッセージが表示されますでしょう

に(それは私を読んで呼ばれていた理由もあります)それはpackage.jsonを更新しました。それでも見つからないとわかりません: bower ng-cordova#^ 0.1.27-alpha ENOTFOUNDパッケージng-cordovaが見つかりません – BrianK

答えて

1

最初のコマンドは、もう1つのパッケージ(非推奨の従来のchangelog @ 0.0.11)に関する警告を表示しただけですが、はnpmで正常にインストールされました。あなたの2番目のコマンドでは、ngCordovaのように、バウワーパッケージの名前のスペルが間違っていたので、Readmesの一番上にon their github pageと表示されています。 readmesを読むことを強くお勧めします。私はそう--saveで再びNG-コルドバインストールされたパッケージは、NPMによって発見することができない場合は、あなたが

$ npm i lkjsadflkjjlksdf 

npm ERR! Linux 4.4.0-42-generic 
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i" "lkjsadflkjjlksdf" 
npm ERR! node v4.6.2 
npm ERR! npm v2.15.11 
npm ERR! code E404 

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/lkjsadflkjjlksdf 
npm ERR! 404 
npm ERR! 404 'lkjsadflkjjlksdf' is not in the npm registry. 
npm ERR! 404 You should bug the author to publish it (or use the name yourself!) 
npm ERR! 404 
npm ERR! 404 Note that you can also install from a 
npm ERR! 404 tarball, folder, http url, or git url. 
+0

bower.jsonを編集し、パッケージ名を "ngCordova"に変更しました。バワーは今走る。助けてくれてありがとう! – BrianK

関連する問題