本人小白一名,在 openstf 查阅得知,修改了 stf 界面需要重新编译
但是英语水平有限,这问题确实不知道怎么解决,希望高手不吝赐教。

运行代码:

sudo gulp clean

没问题
接着运行:

sudo gulp webpack:build

出现错误,大部分都是类似这这种:

ERROR in ./res/auth/ldap/scripts/entry.js
Module not found: Error: Cannot resolve module 'nine-bootstrap' in /usr/local/lib/node_modules/stf/res/auth/ldap/scripts
 @ ./res/auth/ldap/scripts/entry.js 2:2-27

ERROR in ./res/auth/mock/scripts/entry.js
Module not found: Error: Cannot resolve module 'nine-bootstrap' in /usr/local/lib/node_modules/stf/res/auth/mock/scripts
 @ ./res/auth/mock/scripts/entry.js 2:2-27

ERROR in ./res/auth/ldap/scripts/entry.js
Module not found: Error: Cannot resolve module 'angular-route' in /usr/local/lib/node_modules/stf/res/auth/ldap/scripts
 @ ./res/auth/ldap/scripts/entry.js 5:2-26

ERROR in ./res/auth/mock/scripts/entry.js
Module not found: Error: Cannot resolve module 'angular-route' in /usr/local/lib/node_modules/stf/res/auth/mock/scripts
 @ ./res/auth/mock/scripts/entry.js 5:2-26

ERROR in ./res/app/app.js
Module not found: Error: Cannot resolve module 'angular-route' in /usr/local/lib/node_modules/stf/res/app
 @ ./res/app/app.js 4:2-26

ERROR in ./res/auth/ldap/scripts/entry.js
Module not found: Error: Cannot resolve module 'angular-touch' in /usr/local/lib/node_modules/stf/res/auth/ldap/scripts
 @ ./res/auth/ldap/scripts/entry.js 6:2-26

ERROR in ./res/auth/mock/scripts/entry.js
Module not found: Error: Cannot resolve module 'angular-touch' in /usr/local/lib/node_modules/stf/res/auth/mock/scripts
 @ ./res/auth/mock/scripts/entry.js 6:2-26


↙↙↙阅读原文可查看相关链接,并与作者交流