0
0

More than 3 years have passed since last update.

Windowsのnode.jsでCannot find module が出た場合の対処

Last updated at Posted at 2020-03-07

個人メモ用です。
ejsをグローバルインストール。node.jsで利用すると『Cannot find module』のエラーが発生しました。
下記の記事通りで正常に動作するようになりました。
Windowsのnode.jsでCannot find module が出た - Qiita

補足:上記以降の対応 NODE_PATH %AppData%\Roaming\npm\node_modules を 具体的なパスに変更

0
0
0

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
0
0