個人メモ用です。
ejsをグローバルインストール。node.jsで利用すると『Cannot find module』のエラーが発生しました。
下記の記事通りで正常に動作するようになりました。
Windowsのnode.jsでCannot find module が出た - Qiita
補足:上記以降の対応 NODE_PATH %AppData%\Roaming\npm\node_modules を 具体的なパスに変更
Go to list of users who liked
More than 3 years have passed since last update.
個人メモ用です。
ejsをグローバルインストール。node.jsで利用すると『Cannot find module』のエラーが発生しました。
下記の記事通りで正常に動作するようになりました。
Windowsのnode.jsでCannot find module が出た - Qiita
補足:上記以降の対応 NODE_PATH %AppData%\Roaming\npm\node_modules を 具体的なパスに変更
Register as a new user and use Qiita more conveniently
Go to list of users who liked