8
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

IntelliJ IDEA15でNode.jsを使うまで

Posted at

YoutubeのNode.jsの動画を見ながら勉強してたんですが
動画では動いているjsが動かない!
というかrunマークが死んでる!
となったのでrunするまでのメモ。

まずIntelliJ IDEAはDefault状態だとNode.jsが入っていない!
のでpluginをインストールしなくてはいけません。

  1. projectを開いていたら一旦閉じて「Welcome to IntelliJ IDEA」の画面に戻ります。
  2. 右下のConfigureをクリックしPluginsを選択
  3. 左下のInstall JetBrains Plugin...をクリック
  4. 検索バーに Node.js を入力し検索
  5. 右の画面のInstallボタンをクリックしインストール
  6. 右下のcloseボタンをクリック
  7. 右下のokボタンをクリックすると「Platform and Plugin Updates」とアラートが 出て再起動するか確認されるのでRestartを選択
  8. 再起動後Projectを開き右上の三角のRunマークの左にあるアイコンから「Edit Configurations」を選択
  9. 立ち上がったウィンドウの左上の+マークをクリックしNode.jsをクリック
  10. 右下のOKをクリック

以上で終了です。
これでRunマークをクリックすると無事jsが動きます。

8
9
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?