AWSのcloud9でHerokuにデプロイするために、まずheroku infoをコンソールで叩いたところ、
以下のようなログが吐かれます。
nodeのバージョンが原因なのかと考えましたが、どうすれば解決できるかわかりません。
教えていただけないでしょうか。
node -vを叩くとv8.3.0と表示されます。
$ heroku info (node:18397) Error Plugin: @oclif/plugin-legacy: files attribute must be specified in /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-legacy/package.json module: @oclif/config@1.12.0 plugin: @oclif/plugin-legacy root: /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-legacy See more details with DEBUG=* (node:18397) Error Plugin: @oclif/plugin-not-found: files attribute must be specified in /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-not-found/package.json module: @oclif/config@1.12.0 plugin: @oclif/plugin-not-found root: /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-not-found See more details with DEBUG=* (node:18397) Error Plugin: @oclif/plugin-plugins: files attribute must be specified in /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-plugins/package.json module: @oclif/config@1.12.0 plugin: @oclif/plugin-plugins root: /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-plugins See more details with DEBUG=* (node:18397) Error Plugin: @oclif/plugin-update: files attribute must be specified in /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-update/package.json module: @oclif/config@1.12.0 plugin: @oclif/plugin-update root: /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-update See more details with DEBUG=* (node:18397) Error Plugin: @oclif/plugin-warn-if-update-available: files attribute must be specified in /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-warn-if-update-available/package.json module: @oclif/config@1.12.0 plugin: @oclif/plugin-warn-if-update-available root: /home/ec2-user/.nvm/versions/node/v6.15.0/lib/node_modules/heroku-cli/node_modules/@oclif/plugin-warn-if-update-available See more details with DEBUG=* › Warning: heroku-cli update available from 7.0.9 to 7.19.4
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/02/05 16:07