关于 iceworks
Iceworks 是一款面向前端的、简单友好的开发工作台软件。Iceworks 屏蔽前端工程环境的复杂度,让开发者可以快速地创建前端项目、便捷地管理前端项目,覆盖前端开发的完整生命周期。
Iceworks 主要功能如下:
-
项目管理:项目的增删改查、项目的依赖管理、项目的页面管理等;
-
工程管理:覆盖本地调试、项目构建、代码检测等;
-
物料市场:提供海量高质可复用物料,助力产品开发;
依赖安装报错解决:
1. 提示运行python命令失败(这里忘记截图了).
解决方法: 安装python2,添加到环境变量,ok
2. 无法识别工具版本“2.0”。可用的工具版本为 "4.0"
if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) 在此解决方案中一次生成一个项目。若要启用并行生成,请添加“/m”开关。 MSBUILD : error MSB4132: 无法识别工具版本“2.0”。可用的工具版本为 "4.0"。
解决方法:
> npm install --msvs_version 2015
> npm config set msvs_version 2015 --global
3. Error: npm ERR! write after end
解决方法:
npm cache verify
4. cb() nerver called
> npm cache verify
> npm cache clean [--force]
这里下去还遇到很多报错,一个一个排查解决花去了大半天的时间.最后npm install 结束后提示了一个"检查网络"的提示,突然想到可能是包下载错误,于是拿取了淘宝的cnpm安装:cnpm install.所有问题解决.坑啊!
采用淘宝镜像安装:
$ npm install -g cnpm --registry=https://registry.npm.taobao.org
$ cnpm install
参考: http://npm.taobao.org
附上成功截图: