1
node.jsでAWS Pollyサービスを使い始める際の手順に従って、aws-sdkをインストールしようとしています。私はWindows 10、Visual Studio 2015、Windows 10マシン、Raspbianを実行しているRaspberry Piに指示された通りにインストールしようとしました。すべての試行で、インストールは失敗します。私が使用したコマンドは、WindowsとRPiでは 'npm install aws-sdk'です。ここでノードjsにaws-sdkをインストールするとnpmエラーが返される
はラズベリーパイの上とVisual Studioの下にインストールから出力さ:
Registry url: https://registry.npmjs.org/
Current Time: 8/6/2017 1:16:59 AM
Last Refreshed: 2/20/2016 1:36:30 PM
Number of Results: 257342
====Executing command 'npm install aws-sdk --save '====
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "aws-sdk" "--save"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! file C:\Users\barry\AppData\Roaming\npm-cache\isarray\1.0.0\package\package.json
npm ERR! code EJSONPARSE
npm ERR! Failed to parse json
npm ERR! Unexpected token '\u0000' at 1:1
npm ERR!
npm ERR!^
npm ERR! File: C:\Users\barry\AppData\Roaming\npm-cache\isarray\1.0.0\package\package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\barry\Documents\Visual Studio 2015\Projects\AWS_Proxy\AWS_Proxy_app\npm-debug.log
私が間違っている可能性がありますか?