weex icon indicating copy to clipboard operation
weex copied to clipboard

'webpack' 不是内部或外部命令

Open JakeWoki opened this issue 10 years ago • 7 comments

卸载Node.js后重新安装出现的,win7系统git-bash 20161010221518 20161010221545 20161010221607 20161010221626 卸载Node.js后重新安装出现的,win7系统git-bash

JakeWoki avatar Oct 10 '16 14:10 JakeWoki

make sure you have npm install

fkysly avatar Oct 11 '16 02:10 fkysly

@fkysly npm已经安装

JakeWoki avatar Oct 11 '16 03:10 JakeWoki

What I mean is that you should run "npm install" command in the weex directory.

fkysly avatar Oct 11 '16 03:10 fkysly

@fkysly 有的,先npm install才./start的

JakeWoki avatar Oct 11 '16 03:10 JakeWoki

You can try to install the webpack globally, using the "npm install -g webpack" command. And if you still have problems, please make sure that the npm local package lookup path is correct.

fixing-npm-path-in-windows-8

Windows Installer didn't add Node PATH

fkysly avatar Oct 11 '16 03:10 fkysly

该问题已经超过两周没有反馈,从目前的讨论看应该可以解决作者的问题,所以先关闭该问题,如果有进一步的讨论,可以再reopen。

alext1981 avatar Oct 25 '16 03:10 alext1981

请问您解决这个问题了吗?我也遇到了这个问题,path 已经指明了npm 和 nodejs的路径

ThinkingInGIS avatar Nov 07 '16 06:11 ThinkingInGIS