khi*_*ter 3 node.js npm npm-install
我正在使用https://github.com/tj/n中的节点版本管理
$ node --version
v4.2.4
$ npm --version
1.3.1
Run Code Online (Sandbox Code Playgroud)
我已经删除了我的node_modules并试图运行,$npm install但我收到警告消息,如
npm WARN engine postcss@5.0.13: wanted: {"node":">=0.12"} (current: {"node":"v0.10.25","npm":"1.3.10"})
Run Code Online (Sandbox Code Playgroud)
我更新了我的packages.json以包括:
"engineStrict" : true,
"engines": {
"node": "4.2.4"
},
Run Code Online (Sandbox Code Playgroud)
任何建议非常感谢
我错过了什么