railsでアプリを作りherokuにアップしたのですが、以下のコマンドを打つと以下のようなエラーが表示されます。
調べてみましたがお手上げ状態で困っています。
教えていただけないでしょうか。
heroku pg:reset DATABASE
(node:17119) 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.10.4 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:17119) 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.10.4 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:17119) 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.10.4 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:17119) 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.10.4 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:17119) 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.10.4 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 ▸ WARNING: Destructive action ▸ postgresql-rugged-58429 will lose all of its data
あなたの回答
tips
プレビュー