Lucifier129 / react-lite

An implementation of React v15.x that optimizes for small script size
MIT License
1.73k stars 98 forks source link

npm install 遇到问题,sh: node-waf: command not found #4

Closed tlightsky closed 8 years ago

tlightsky commented 8 years ago

npm install 遇到点问题


> zlib@1.0.5 preinstall /Users/xxx/Documents/source/js/react-lite/node_modules/zlib
> node-waf clean || true; node-waf configure build

sh: node-waf: command not found
sh: node-waf: command not found

node version : v0.12.0

tlightsky commented 8 years ago

似乎是zlib引起的 删除devDependencies里的 zlib 就ok了

Lucifier129 commented 8 years ago

good for you

aweary commented 8 years ago

@Lucifier129 I get this error as well when trying to run npm install. The zlib package is way out of date and not maintained, it shouldn't be a dev dependency.