LoginSignup
9
3

More than 5 years have passed since last update.

node 7.0.0 に上げたら internal-fs の互換性のない変更により辛いので brew で node 6 系を入れた

Last updated at Posted at 2016-10-26

node 7.0.0 に上げたら次のようなエラーが出た。

Error: Cannot find module 'internal/fs'
    at Function.Module._resolveFilename (module.js:472:15)
    at Function.Module._load (module.js:420:25)
    at Module.require (module.js:500:17)
    at require (internal/module.js:20:19)

https://github.com/nodejs/LTS によれば node 6 系は 2018年4月までサポートされるらしい。しばらくこれで大丈夫ですね。

$ brew tap homebrew/versions
$ brew uninstall node
$ brew install node6-lts
9
3
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
9
3