STF openstf 修改界面,编译一直失败

斯特瑞 · 2016年05月08日 · 最后由 Monkey 回复于 2016年05月08日 · 1672 次阅读

运行代码:
sudo gulp clean
接着运行: sudo gulp webpack:build
然后就出现了以下错误提示:

根据提示也尝试安装:
sudo npm install angular-route --save-dev

但是还是会出现同样的错误

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-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-touch' in /usr/local/lib/node_modules/stf/res/app
@ ./res/app/app.js 5: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

ERROR in ./res/app/app.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app
@ ./res/app/app.js 10:4-22

ERROR in ./res/auth/ldap/scripts/entry.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/auth/ldap/scripts
@ ./res/auth/ldap/scripts/entry.js 11:4-22

ERROR in ./res/auth/mock/scripts/entry.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/auth/mock/scripts
@ ./res/auth/mock/scripts/entry.js 11:4-22

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

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/app/layout/index.js
Module not found: Error: Cannot resolve module 'nine-bootstrap' in /usr/local/lib/node_modules/stf/res/app/layout
@ ./res/app/layout/index.js 1:0-25

ERROR in ./res/app/layout/index.js
Module not found: Error: Cannot resolve module 'ui-bootstrap' in /usr/local/lib/node_modules/stf/res/app/layout
@ ./res/app/layout/index.js 10:2-25

ERROR in ./res/app/layout/index.js
Module not found: Error: Cannot resolve module 'angular-borderlayout' in /usr/local/lib/node_modules/stf/res/app/layout
@ ./res/app/layout/index.js 11:2-33

ERROR in ./res/app/device-list/index.js
Module not found: Error: Cannot resolve module 'angular-xeditable' in /usr/local/lib/node_modules/stf/res/app/device-list
@ ./res/app/device-list/index.js 4:2-30

ERROR in ./res/app/app.js
Module not found: Error: Cannot resolve module 'exports' in /usr/local/lib/node_modules/stf/res/app
@ ./res/app/app.js 3:2-20

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

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

ERROR in ./res/app/layout/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/layout
@ ./res/app/layout/index.js 3:0-23

ERROR in ./res/app/layout/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/layout
@ ./res/app/layout/index.js 4:0-22

ERROR in ./res/app/layout/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/layout
@ ./res/app/layout/index.js 5:0-27

ERROR in ./res/app/device-list/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/device-list
@ ./res/app/device-list/index.js 1:0-28

ERROR in ./res/app/device-list/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/device-list
@ ./res/app/device-list/index.js 21:18-47

ERROR in ./res/app/control-panes/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes
@ ./res/app/control-panes/index.js 27:18-49 37:18-49

ERROR in ./res/app/settings/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/settings
@ ./res/app/settings/index.js 9:16-42

ERROR in ./res/app/menu/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/menu
@ ./res/app/menu/index.js 1:0-21

ERROR in ./res/app/menu/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/menu
@ ./res/app/menu/index.js 11:36-58

ERROR in ./res/app/user/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/user
@ ./res/app/user/index.js 6:18-40

ERROR in ./res/common/lang/index.js
Module not found: Error: Cannot resolve module 'json' in /usr/local/lib/node_modules/stf/res/common/lang
@ ./res/common/lang/index.js 3:18-36

ERROR in ./res/app/docs/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/docs
@ ./res/app/docs/index.js 1:0-21

ERROR in ./res/auth/ldap/scripts/signin/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/auth/ldap/scripts/signin
@ ./res/auth/ldap/scripts/signin/index.js 1:0-23

ERROR in ./res/auth/ldap/scripts/signin/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/auth/ldap/scripts/signin
@ ./res/auth/ldap/scripts/signin/index.js 7:18-42

ERROR in ./res/auth/mock/scripts/signin/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/auth/mock/scripts/signin
@ ./res/auth/mock/scripts/signin/index.js 1:0-23

ERROR in ./res/auth/mock/scripts/signin/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/auth/mock/scripts/signin
@ ./res/auth/mock/scripts/signin/index.js 7:18-42

ERROR in ./res/app/components/stf/standalone/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/standalone
@ ./res/app/components/stf/standalone/index.js 1:0-27

ERROR in ./res/app/components/stf/standalone/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/standalone
@ ./res/app/components/stf/standalone/index.js 12:6-34

ERROR in ./res/app/device-list/column/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/device-list/column
@ ./res/app/device-list/column/index.js 2:2-20

ERROR in ./res/app/device-list/icons/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/device-list/icons
@ ./res/app/device-list/icons/index.js 4:2-20

ERROR in ./res/app/components/stf/scoped-hotkeys/index.js
Module not found: Error: Cannot resolve module 'angular-hotkeys' in /usr/local/lib/node_modules/stf/res/app/components/stf/scoped-hotkeys
@ ./res/app/components/stf/scoped-hotkeys/index.js 1:0-26

ERROR in ./res/app/control-panes/device-control/index.js
Module not found: Error: Cannot resolve module 'ng-context-menu' in /usr/local/lib/node_modules/stf/res/app/control-panes/device-control
@ ./res/app/control-panes/device-control/index.js 7:2-28

ERROR in ./res/app/components/stf/language/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/components/stf/language
@ ./res/app/components/stf/language/index.js 3:2-20

ERROR in ./res/app/components/stf/basic-mode/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/basic-mode
@ ./res/app/components/stf/basic-mode/index.js 1:0-27

ERROR in ./res/app/device-list/details/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/device-list/details
@ ./res/app/device-list/details/index.js 1:0-36

ERROR in ./res/app/device-list/icons/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/device-list/icons
@ ./res/app/device-list/icons/index.js 1:0-34

ERROR in ./res/app/device-list/stats/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/device-list/stats
@ ./res/app/device-list/stats/index.js 1:0-34

ERROR in ./res/app/device-list/customize/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/device-list/customize
@ ./res/app/device-list/customize/index.js 1:0-38

ERROR in ./res/app/device-list/search/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/device-list/search
@ ./res/app/device-list/search/index.js 1:0-35

ERROR in ./res/app/control-panes/advanced/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced
@ ./res/app/control-panes/advanced/index.js 1:0-25

ERROR in ./res/app/control-panes/advanced/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced
@ ./res/app/control-panes/advanced/index.js 13:6-32

ERROR in ./res/app/control-panes/automation/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/automation
@ ./res/app/control-panes/automation/index.js 8:8-36

ERROR in ./res/app/control-panes/performance/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/performance
@ ./res/app/control-panes/performance/index.js 1:0-28

ERROR in ./res/app/control-panes/performance/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/performance
@ ./res/app/control-panes/performance/index.js 8:6-35

ERROR in ./res/app/control-panes/device-control/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/device-control
@ ./res/app/control-panes/device-control/index.js 1:0-31

ERROR in ./res/app/control-panes/device-control/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/device-control
@ ./res/app/control-panes/device-control/index.js 12:6-38

ERROR in ./res/app/control-panes/device-control/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/device-control
@ ./res/app/control-panes/device-control/index.js 15:6-49

ERROR in ./res/app/control-panes/dashboard/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard
@ ./res/app/control-panes/dashboard/index.js 12:8-35

ERROR in ./res/app/control-panes/logs/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/logs
@ ./res/app/control-panes/logs/index.js 1:0-22

ERROR in ./res/app/control-panes/logs/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/logs
@ ./res/app/control-panes/logs/index.js 9:6-28

ERROR in ./res/app/control-panes/screenshots/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/screenshots
@ ./res/app/control-panes/screenshots/index.js 1:0-28

ERROR in ./res/app/control-panes/screenshots/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/screenshots
@ ./res/app/control-panes/screenshots/index.js 9:6-35

ERROR in ./res/app/control-panes/explorer/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/explorer
@ ./res/app/control-panes/explorer/index.js 1:0-25

ERROR in ./res/app/control-panes/explorer/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/explorer
@ ./res/app/control-panes/explorer/index.js 6:6-32

ERROR in ./res/app/control-panes/info/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/info
@ ./res/app/control-panes/info/index.js 1:0-21

ERROR in ./res/app/control-panes/info/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/info
@ ./res/app/control-panes/info/index.js 9:6-28

ERROR in ./res/app/settings/general/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/settings/general
@ ./res/app/settings/general/index.js 1:0-24

ERROR in ./res/app/settings/general/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/settings/general
@ ./res/app/settings/general/index.js 10:8-33

ERROR in ./res/app/settings/keys/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/settings/keys
@ ./res/app/settings/keys/index.js 1:0-21

ERROR in ./res/app/settings/keys/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/settings/keys
@ ./res/app/settings/keys/index.js 9:33-55

ERROR in ./res/app/components/stf/common-ui/modals/external-url-modal/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/external-url-modal
@ ./res/app/components/stf/common-ui/modals/external-url-modal/index.js 1:0-35

ERROR in ./res/app/components/stf/screen/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/screen
@ ./res/app/components/stf/screen/index.js 1:0-23

ERROR in ./res/app/components/stf/device/device-service.js
Module not found: Error: Cannot resolve module 'oboe' in /usr/local/lib/node_modules/stf/res/app/components/stf/device
@ ./res/app/components/stf/device/device-service.js 1:11-26

ERROR in ./res/app/control-panes/dashboard/shell/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/shell
@ ./res/app/control-panes/dashboard/shell/index.js 5:2-20

ERROR in ./res/app/control-panes/dashboard/install/index.js
Module not found: Error: Cannot resolve module 'ng-file-upload' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/install
@ ./res/app/control-panes/dashboard/install/index.js 3:0-25

ERROR in ./res/app/control-panes/dashboard/clipboard/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/clipboard
@ ./res/app/control-panes/dashboard/clipboard/index.js 7:2-20

ERROR in ./res/app/control-panes/dashboard/clipboard/index.js
Module not found: Error: Cannot resolve module 'angular-elastic' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/clipboard
@ ./res/app/control-panes/dashboard/clipboard/index.js 3:0-26

ERROR in ./res/app/control-panes/dashboard/remote-debug/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/remote-debug
@ ./res/app/control-panes/dashboard/remote-debug/index.js 4:2-20

ERROR in ./res/app/components/stf/language/language-service.js
Module not found: Error: Cannot resolve module 'json' in /usr/local/lib/node_modules/stf/res/app/components/stf/language
@ ./res/app/components/stf/language/language-service.js 1:25-72

ERROR in ./res/app/components/stf/common-ui/table/index.js
Module not found: Error: Cannot resolve module 'script' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/table
@ ./res/app/components/stf/common-ui/table/index.js 2:0-40

ERROR in ./res/app/components/stf/common-ui/notifications/index.js
Module not found: Error: Cannot resolve module 'angular-animate' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/notifications
@ ./res/app/components/stf/common-ui/notifications/index.js 1:0-26

ERROR in ./res/app/components/stf/common-ui/notifications/index.js
Module not found: Error: Cannot resolve module 'angular-growl' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/notifications
@ ./res/app/components/stf/common-ui/notifications/index.js 3:0-24

ERROR in ./res/app/components/stf/common-ui/enable-autofill/index.js
Module not found: Error: Cannot resolve module 'angular-cookies' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/enable-autofill
@ ./res/app/components/stf/common-ui/enable-autofill/index.js 1:0-26

ERROR in ./res/app/components/stf/common-ui/modals/common/index.js
Module not found: Error: Cannot resolve module 'ui-bootstrap' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/common
@ ./res/app/components/stf/common-ui/modals/common/index.js 4:2-25

ERROR in ./res/app/device-list/details/device-list-details-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/device-list/details
@ ./res/app/device-list/details/device-list-details-directive.js 16:14-51

ERROR in ./res/app/device-list/icons/device-list-icons-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/device-list/icons
@ ./res/app/device-list/icons/device-list-icons-directive.js 101:14-49

ERROR in ./res/app/device-list/stats/device-list-stats-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/device-list/stats
@ ./res/app/device-list/stats/device-list-stats-directive.js 6:14-49

ERROR in ./res/app/control-panes/advanced/port-forwarding/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/port-forwarding
@ ./res/app/control-panes/advanced/port-forwarding/index.js 6:2-20

ERROR in ./res/app/control-panes/advanced/maintenance/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/maintenance
@ ./res/app/control-panes/advanced/maintenance/index.js 2:2-20

ERROR in ./res/app/control-panes/automation/store-account/index.js
Module not found: Error: Cannot resolve module 'angular-ladda' in /usr/local/lib/node_modules/stf/res/app/control-panes/automation/store-account
@ ./res/app/control-panes/automation/store-account/index.js 2:0-24

ERROR in ./res/app/control-panes/performance/cpu/index.js
Module not found: Error: Cannot resolve module 'epoch' in /usr/local/lib/node_modules/stf/res/app/control-panes/performance/cpu
@ ./res/app/control-panes/performance/cpu/index.js 6:2-18

ERROR in ./res/app/components/stf/device-context-menu/index.js
Module not found: Error: Cannot resolve module 'ng-context-menu' in /usr/local/lib/node_modules/stf/res/app/components/stf/device-context-menu
@ ./res/app/components/stf/device-context-menu/index.js 4:2-28

ERROR in ./res/app/components/stf/angular-packery/index.js
Module not found: Error: Cannot resolve module 'packery/js/rect.js' in /usr/local/lib/node_modules/stf/res/app/components/stf/angular-packery
@ ./res/app/components/stf/angular-packery/index.js 3:0-29

ERROR in ./res/app/components/stf/angular-packery/index.js
Module not found: Error: Cannot resolve module 'packery/js/packer.js' in /usr/local/lib/node_modules/stf/res/app/components/stf/angular-packery
@ ./res/app/components/stf/angular-packery/index.js 4:0-31

ERROR in ./res/app/components/stf/angular-packery/index.js
Module not found: Error: Cannot resolve module 'packery/js/item.js' in /usr/local/lib/node_modules/stf/res/app/components/stf/angular-packery
@ ./res/app/components/stf/angular-packery/index.js 5:0-29

ERROR in ./res/app/components/stf/angular-packery/index.js
Module not found: Error: Cannot resolve module 'packery/js/packery.js' in /usr/local/lib/node_modules/stf/res/app/components/stf/angular-packery
@ ./res/app/components/stf/angular-packery/index.js 6:14-46

ERROR in ./res/app/settings/general/local/index.js
Module not found: Error: Cannot resolve module 'angular-bootstrap/ui-bootstrap-tpls' in /usr/local/lib/node_modules/stf/res/app/settings/general/local
@ ./res/app/settings/general/local/index.js 1:0-28

ERROR in ./res/app/components/stf/common-ui/modals/external-url-modal/external-url-modal-service.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/external-url-modal
@ ./res/app/components/stf/common-ui/modals/external-url-modal/external-url-modal-service.js 20:16-52

ERROR in ./res/app/components/stf/common-ui/table/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/table
@ ./res/app/components/stf/common-ui/table/index.js 1:0-22

ERROR in ./res/app/components/stf/socket/socket-state/socket-state-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/socket/socket-state
@ ./res/app/components/stf/socket/socket-state/socket-state-directive.js 11:14-44

ERROR in ./res/app/components/stf/common-ui/modals/socket-disconnected/socket-disconnected-service.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/socket-disconnected
@ ./res/app/components/stf/common-ui/modals/socket-disconnected/socket-disconnected-service.js 21:18-55

ERROR in ./res/app/device-list/empty/device-list-empty-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/device-list/empty
@ ./res/app/device-list/empty/device-list-empty-directive.js 4:14-49

ERROR in ./res/app/components/stf/common-ui/nice-tabs/nice-tab-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/nice-tabs
@ ./res/app/components/stf/common-ui/nice-tabs/nice-tab-directive.js 8:14-40

ERROR in ./res/app/components/stf/common-ui/nice-tabs/nice-tabs-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/nice-tabs
@ ./res/app/components/stf/common-ui/nice-tabs/nice-tabs-directive.js 5:14-41

ERROR in ./res/app/control-panes/dashboard/navigation/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/navigation
@ ./res/app/control-panes/dashboard/navigation/index.js 1:0-27

ERROR in ./res/app/control-panes/dashboard/navigation/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/navigation
@ ./res/app/control-panes/dashboard/navigation/index.js 8:6-34

ERROR in ./res/app/control-panes/dashboard/shell/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/shell
@ ./res/app/control-panes/dashboard/shell/index.js 1:0-22

ERROR in ./res/app/control-panes/dashboard/shell/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/shell
@ ./res/app/control-panes/dashboard/shell/index.js 9:6-29

ERROR in ./res/app/control-panes/dashboard/install/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/install
@ ./res/app/control-panes/dashboard/install/index.js 1:0-24

ERROR in ./res/app/control-panes/dashboard/install/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/install
@ ./res/app/control-panes/dashboard/install/index.js 15:6-31

ERROR in ./res/app/control-panes/dashboard/apps/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/apps
@ ./res/app/control-panes/dashboard/apps/index.js 1:0-21

ERROR in ./res/app/control-panes/dashboard/apps/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/apps
@ ./res/app/control-panes/dashboard/apps/index.js 8:6-28

ERROR in ./res/app/control-panes/dashboard/clipboard/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/clipboard
@ ./res/app/control-panes/dashboard/clipboard/index.js 1:0-26

ERROR in ./res/app/control-panes/dashboard/clipboard/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/clipboard
@ ./res/app/control-panes/dashboard/clipboard/index.js 11:6-33

ERROR in ./res/app/control-panes/dashboard/remote-debug/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/remote-debug
@ ./res/app/control-panes/dashboard/remote-debug/index.js 1:0-29

ERROR in ./res/app/control-panes/dashboard/remote-debug/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/remote-debug
@ ./res/app/control-panes/dashboard/remote-debug/index.js 9:6-36

ERROR in ./res/app/components/stf/common-ui/nothing-to-show/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/nothing-to-show
@ ./res/app/components/stf/common-ui/nothing-to-show/index.js 1:0-32

ERROR in ./res/app/components/stf/common-ui/error-message/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/error-message
@ ./res/app/components/stf/common-ui/error-message/index.js 1:0-30

ERROR in ./res/app/components/stf/common-ui/notifications/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/notifications
@ ./res/app/components/stf/common-ui/notifications/index.js 2:0-22

ERROR in ./res/app/components/stf/common-ui/badge-icon/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/badge-icon
@ ./res/app/components/stf/common-ui/badge-icon/index.js 1:0-27

ERROR in ./res/app/components/stf/common-ui/modals/common/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/common
@ ./res/app/components/stf/common-ui/modals/common/index.js 1:0-23

ERROR in ./res/app/components/stf/keycodes/index.js
Module not found: Error: Cannot resolve module 'json' in /usr/local/lib/node_modules/stf/res/app/components/stf/keycodes
@ ./res/app/components/stf/keycodes/index.js 5:11-41

ERROR in ./res/app/control-panes/advanced/input/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/input
@ ./res/app/control-panes/advanced/input/index.js 1:0-22

ERROR in ./res/app/control-panes/advanced/input/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/input
@ ./res/app/control-panes/advanced/input/index.js 7:6-29

ERROR in ./res/app/control-panes/advanced/port-forwarding/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/port-forwarding
@ ./res/app/control-panes/advanced/port-forwarding/index.js 1:0-32

ERROR in ./res/app/control-panes/advanced/port-forwarding/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/port-forwarding
@ ./res/app/control-panes/advanced/port-forwarding/index.js 11:6-39

ERROR in ./res/app/control-panes/advanced/maintenance/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/maintenance
@ ./res/app/control-panes/advanced/maintenance/index.js 6:6-35

ERROR in ./res/app/control-panes/automation/store-account/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/automation/store-account
@ ./res/app/control-panes/automation/store-account/index.js 1:0-30

ERROR in ./res/app/control-panes/automation/store-account/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/automation/store-account
@ ./res/app/control-panes/automation/store-account/index.js 10:6-37

ERROR in ./res/app/control-panes/automation/device-settings/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/automation/device-settings
@ ./res/app/control-panes/automation/device-settings/index.js 1:0-32

ERROR in ./res/app/control-panes/automation/device-settings/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/automation/device-settings
@ ./res/app/control-panes/automation/device-settings/index.js 8:6-39

ERROR in ./res/app/control-panes/performance/cpu/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/performance/cpu
@ ./res/app/control-panes/performance/cpu/index.js 1:0-20

ERROR in ./res/app/control-panes/performance/cpu/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/performance/cpu
@ ./res/app/control-panes/performance/cpu/index.js 10:6-27

ERROR in ./res/app/components/stf/device-context-menu/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/device-context-menu
@ ./res/app/components/stf/device-context-menu/index.js 1:0-36

ERROR in ./res/app/components/stf/logcat-table/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/logcat-table
@ ./res/app/components/stf/logcat-table/index.js 1:0-29

ERROR in ./res/app/components/stf/common-ui/modals/lightbox-image/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/lightbox-image
@ ./res/app/components/stf/common-ui/modals/lightbox-image/index.js 1:0-31

ERROR in ./res/app/components/stf/angular-packery/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/angular-packery
@ ./res/app/components/stf/angular-packery/index.js 1:0-32

ERROR in ./res/app/settings/general/language/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/settings/general/language
@ ./res/app/settings/general/language/index.js 7:49-75

ERROR in ./res/app/settings/general/local/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/settings/general/local
@ ./res/app/settings/general/local/index.js 11:6-38

ERROR in ./res/app/settings/keys/adb-keys/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/settings/keys/adb-keys
@ ./res/app/settings/keys/adb-keys/index.js 1:0-25

ERROR in ./res/app/settings/keys/adb-keys/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/settings/keys/adb-keys
@ ./res/app/settings/keys/adb-keys/index.js 9:46-72

ERROR in ./res/app/settings/keys/access-tokens/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/settings/keys/access-tokens
@ ./res/app/settings/keys/access-tokens/index.js 1:0-30

ERROR in ./res/app/settings/keys/access-tokens/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/settings/keys/access-tokens
@ ./res/app/settings/keys/access-tokens/index.js 10:56-87

ERROR in ./res/app/components/stf/screen/screen-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/screen
@ ./res/app/components/stf/screen/screen-directive.js 15:14-38

ERROR in ./res/app/components/stf/socket/socket-service.js
Module not found: Error: Cannot resolve module 'socket.io-client' in /usr/local/lib/node_modules/stf/res/app/components/stf/socket
@ ./res/app/components/stf/socket/socket-service.js 1:9-29

ERROR in ./res/app/components/stf/storage/index.js
Module not found: Error: Cannot resolve module 'ng-file-upload' in /usr/local/lib/node_modules/stf/res/app/components/stf/storage
@ ./res/app/components/stf/storage/index.js 1:0-25

ERROR in ./res/app/components/stf/upload/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/components/stf/upload
@ ./res/app/components/stf/upload/index.js 2:2-20

ERROR in ./res/app/components/stf/install/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/components/stf/install
@ ./res/app/components/stf/install/index.js 2:2-20

ERROR in ./res/app/components/stf/logcat/logcat-service.js
Module not found: Error: Cannot resolve module 'underscore.string/index' in /usr/local/lib/node_modules/stf/res/app/components/stf/logcat
@ ./res/app/components/stf/logcat/logcat-service.js 2:9-37

ERROR in ./res/app/components/stf/common-ui/error-message/error-message-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/error-message
@ ./res/app/components/stf/common-ui/error-message/error-message-directive.js 8:14-45

ERROR in ./res/app/components/stf/common-ui/modals/fatal-message/index.js
Module not found: Error: Cannot resolve module 'angular-route' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/fatal-message
@ ./res/app/components/stf/common-ui/modals/fatal-message/index.js 1:0-24

ERROR in ./res/app/components/stf/common-ui/modals/version-update/index.js
Module not found: Error: Cannot resolve module 'ui-bootstrap' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/version-update
@ ./res/app/components/stf/common-ui/modals/version-update/index.js 3:2-25

ERROR in ./res/app/components/stf/common-ui/badge-icon/badge-icon-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/badge-icon
@ ./res/app/components/stf/common-ui/badge-icon/badge-icon-directive.js 7:14-42

ERROR in ./res/app/components/stf/device-context-menu/device-context-menu-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/device-context-menu
@ ./res/app/components/stf/device-context-menu/device-context-menu-directive.js 10:14-51

ERROR in ./res/app/control-panes/dashboard/navigation/navigation-controller.js
Module not found: Error: Cannot resolve module 'url' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/navigation
@ ./res/app/control-panes/dashboard/navigation/navigation-controller.js 14:24-56

ERROR in ./res/app/components/stf/logcat-table/logcat-table-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/logcat-table
@ ./res/app/components/stf/logcat-table/logcat-table-directive.js 8:16-46

ERROR in ./res/app/components/stf/common-ui/modals/lightbox-image/lightbox-image-service.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/lightbox-image
@ ./res/app/components/stf/common-ui/modals/lightbox-image/lightbox-image-service.js 19:16-48

ERROR in ./res/app/components/stf/angular-draggabilly/index.js
Module not found: Error: Cannot resolve module 'draggabilly' in /usr/local/lib/node_modules/stf/res/app/components/stf/angular-draggabilly
@ ./res/app/components/stf/angular-draggabilly/index.js 1:18-40

ERROR in ./res/app/components/stf/keys/add-adb-key/index.js
Module not found: Error: Cannot resolve module 'gettext' in /usr/local/lib/node_modules/stf/res/app/components/stf/keys/add-adb-key
@ ./res/app/components/stf/keys/add-adb-key/index.js 4:2-20

ERROR in ./res/app/components/stf/common-ui/clear-button/clear-button-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/clear-button
@ ./res/app/components/stf/common-ui/clear-button/clear-button-directive.js 6:14-44

ERROR in ./res/app/components/stf/common-ui/filter-button/filter-button-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/filter-button
@ ./res/app/components/stf/common-ui/filter-button/filter-button-directive.js 7:14-45

ERROR in ./res/app/components/stf/common-ui/nothing-to-show/nothing-to-show-directive.js
Module not found: Error: Cannot resolve module 'html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/nothing-to-show
@ ./res/app/components/stf/common-ui/nothing-to-show/nothing-to-show-directive.js 9:14-47

ERROR in ./res/app/components/stf/common-ui/stacked-icon/stacked-icon-directive.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/stacked-icon
@ ./res/app/components/stf/common-ui/stacked-icon/stacked-icon-directive.js 1:0-29

ERROR in ./res/app/components/stf/common-ui/stacked-icon/stacked-icon-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/stacked-icon
@ ./res/app/components/stf/common-ui/stacked-icon/stacked-icon-directive.js 11:14-44

ERROR in ./res/app/components/stf/common-ui/refresh-page/refresh-page-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/refresh-page
@ ./res/app/components/stf/common-ui/refresh-page/refresh-page-directive.js 7:14-44

ERROR in ./res/app/components/stf/common-ui/help-icon/help-icon-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/help-icon
@ ./res/app/components/stf/common-ui/help-icon/help-icon-directive.js 9:14-41

ERROR in ./res/app/control-panes/dashboard/install/activities/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/install/activities
@ ./res/app/control-panes/dashboard/install/activities/index.js 1:0-27

ERROR in ./res/app/control-panes/dashboard/install/activities/index.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/control-panes/dashboard/install/activities
@ ./res/app/control-panes/dashboard/install/activities/index.js 9:6-34

ERROR in ./res/app/components/stf/keys/add-adb-key/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/keys/add-adb-key
@ ./res/app/components/stf/keys/add-adb-key/index.js 1:0-28

ERROR in ./res/app/components/stf/tokens/generate-access-token/index.js
Module not found: Error: Cannot resolve module 'style' in /usr/local/lib/node_modules/stf/res/app/components/stf/tokens/generate-access-token
@ ./res/app/components/stf/tokens/generate-access-token/index.js 1:0-38

ERROR in ./res/app/components/stf/transaction/transaction-service.js
Module not found: Error: Cannot resolve module 'imports' in /usr/local/lib/node_modules/stf/res/app/components/stf/transaction
@ ./res/app/components/stf/transaction/transaction-service.js 2:11-31

ERROR in ./res/app/control-panes/advanced/port-forwarding/port-forwarding-controller.js
Module not found: Error: Cannot resolve module 'imports' in /usr/local/lib/node_modules/stf/res/app/control-panes/advanced/port-forwarding
@ ./res/app/control-panes/advanced/port-forwarding/port-forwarding-controller.js 1:11-31

ERROR in ./res/app/components/stf/tokens/generate-access-token/generate-access-token-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/tokens/generate-access-token
@ ./res/app/components/stf/tokens/generate-access-token/generate-access-token-directive.js 8:14-53

ERROR in ./res/app/components/stf/common-ui/modals/version-update/version-update-service.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/version-update
@ ./res/app/components/stf/common-ui/modals/version-update/version-update-service.js 17:16-48

ERROR in ./res/app/components/stf/keys/add-adb-key/add-adb-key-directive.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/keys/add-adb-key
@ ./res/app/components/stf/keys/add-adb-key/add-adb-key-directive.js 9:14-43

ERROR in ./res/app/components/stf/common-ui/modals/fatal-message/fatal-message-service.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/fatal-message
@ ./res/app/components/stf/common-ui/modals/fatal-message/fatal-message-service.js 60:18-49

ERROR in ./res/app/components/stf/common-ui/modals/add-adb-key-modal/add-adb-key-modal-service.js
Module not found: Error: Cannot resolve module 'template-html-loader' in /usr/local/lib/node_modules/stf/res/app/components/stf/common-ui/modals/add-adb-key-modal
@ ./res/app/components/stf/common-ui/modals/add-adb-key-modal/add-adb-key-modal-service.js 28:18-53
[22:17:20] Finished 'webpack:build' after 2.47 s
INF/webpack:config 33686 [*] Build progress 100% (complete)

共收到 3 条回复 时间 点赞

新人请阅读:https://testerhome.com/topics/982
学会如何合理提问,请阅读:https://testerhome.com/topics/587

#1 楼 @monkey 没明白,是没排版,还是发布的板块错误?如果是,该提问应该进入什么板块呢?

#2 楼 @siterui 额。。你先看我发的。。。markdown,另外贴重要日志就好了,不要什么都贴上来

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册