質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Cloud9

Cloud9は、クラウドからのプログラミングが可能になるWebサービス。IDEとしての機能が搭載されており、GitHubやHerokuなど他ツールとの連携も可能です。ブラウザ上で動くため、デバイスに関係なく開発環境を準備できます。

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Node.js

Node.jsとはGoogleのV8 JavaScriptエンジンを使用しているサーバーサイドのイベント駆動型プログラムです。

Q&A

解決済

1回答

2035閲覧

cloud9からherokuにデプロイできない

awa

総合スコア34

Cloud9

Cloud9は、クラウドからのプログラミングが可能になるWebサービス。IDEとしての機能が搭載されており、GitHubやHerokuなど他ツールとの連携も可能です。ブラウザ上で動くため、デバイスに関係なく開発環境を準備できます。

Heroku

HerokuはHeroku社が開発と運営を行っているPaaSの名称です。RubyやNode.js、Python、そしてJVMベース(Java、Scala、Clojureなど)の複数のプログラミング言語をサポートしている。

Node.js

Node.jsとはGoogleのV8 JavaScriptエンジンを使用しているサーバーサイドのイベント駆動型プログラムです。

0グッド

3クリップ

投稿2019/01/22 14:03

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

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答1

0

ベストアンサー

自分も同じように、
Warning: heroku-cli update available from 7.0.9 to 7.19.4
が出たことがあります。

確かherokuをアップデートするか、herokuをインストールし直せば治ります。

Herokuをアップデートするコマンド
heroku update

クラウドIDE上でHerokuをインストールするコマンド
source <(curl -sL https://cdn.learnenough.com/heroku_install)

投稿2019/02/05 06:20

stsogc

総合スコア29

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

awa

2019/02/05 16:07

ありがとうございます、助かりました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問