在旧版本的 STF 执行 gulp build,就不会报下面的错,拿最新版的就会,有人知道怎么办吗?
查阅了各种帖子也不知道怎么解决,npm install 其中一些模块也毫无反应!
ERROR in ./res/web_modules/nine-bootstrap/index.js
Module not found: Error: Cannot resolve module 'font-lato-2-subset' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/nine-bootstrap
@ ./res/web_modules/nine-bootstrap/index.js 7:0-29
ERROR in ./res/web_modules/nine-bootstrap/index.js
Module not found: Error: Cannot resolve module 'components-font-awesome/css/font-awesome.css' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/nine-bootstrap
@ ./res/web_modules/nine-bootstrap/index.js 5:0-55
ERROR in Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtime (57)
For more information on which environments are supported please see:
https://github.com/sass/node-sass/releases/tag/v3.13.1
@ ./res/web_modules/nine-bootstrap/nine-bootstrap.scss 4:14-133
ERROR in ./res/web_modules/angular-borderlayout/index.js
Module not found: Error: Cannot resolve module 'angular-borderlayout/src/borderLayout.js' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/angular-borderlayout
@ ./res/web_modules/angular-borderlayout/index.js 1:0-51
ERROR in ./res/web_modules/angular-borderlayout/index.js
Module not found: Error: Cannot resolve module 'angular-borderlayout/src/borderLayout.css' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/angular-borderlayout
@ ./res/web_modules/angular-borderlayout/index.js 2:0-52
ERROR in ./res/web_modules/angular-xeditable/index.js
Module not found: Error: Cannot resolve module 'angular-xeditable/dist/js/xeditable.js' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/angular-xeditable
@ ./res/web_modules/angular-xeditable/index.js 1:0-49
ERROR in ./res/web_modules/angular-xeditable/index.js
Module not found: Error: Cannot resolve module 'angular-xeditable/dist/css/xeditable.css' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/angular-xeditable
@ ./res/web_modules/angular-xeditable/index.js 2:0-51
ERROR in ./res/app/components/stf/device/device-service.js
Module not found: Error: Cannot resolve module 'oboe' in /work/node-v8.16.2-linux-x64/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/clipboard/index.js
Module not found: Error: Cannot resolve module 'angular-elastic' in /work/node-v8.16.2-linux-x64/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/components/stf/common-ui/table/index.js
Module not found: Error: Cannot resolve module 'ng-table/dist/ng-table' in /work/node-v8.16.2-linux-x64/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 /work/node-v8.16.2-linux-x64/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/enable-autofill/index.js
Module not found: Error: Cannot resolve module 'angular-cookies' in /work/node-v8.16.2-linux-x64/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/web_modules/ng-context-menu/index.js
Module not found: Error: Cannot resolve module 'ng-context-menu/dist/ng-context-menu' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/ng-context-menu
@ ./res/web_modules/ng-context-menu/index.js 1:0-47
ERROR in ./res/app/components/stf/angular-packery/index.js
Module not found: Error: Cannot resolve module 'packery/js/rect.js' in /work/node-v8.16.2-linux-x64/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 /work/node-v8.16.2-linux-x64/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 /work/node-v8.16.2-linux-x64/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 /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/app/components/stf/angular-packery
@ ./res/app/components/stf/angular-packery/index.js 6:14-46
ERROR in ./res/web_modules/ng-file-upload/index.js
Module not found: Error: Cannot resolve module 'ng-file-upload/angular-file-upload-shim' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/ng-file-upload
@ ./res/web_modules/ng-file-upload/index.js 1:0-50
ERROR in ./res/web_modules/ng-file-upload/index.js
Module not found: Error: Cannot resolve module 'ng-file-upload/angular-file-upload' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/ng-file-upload
@ ./res/web_modules/ng-file-upload/index.js 2:0-45
ERROR in ./res/app/components/stf/logcat/logcat-service.js
Module not found: Error: Cannot resolve module 'underscore.string/index' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/app/components/stf/logcat
@ ./res/app/components/stf/logcat/logcat-service.js 2:9-37
ERROR in ./res/web_modules/epoch/index.js
Module not found: Error: Cannot resolve module 'epoch/dist/css/epoch.min.css' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/epoch
@ ./res/web_modules/epoch/index.js 4:0-39
ERROR in ./res/web_modules/epoch/index.js
Module not found: Error: Cannot resolve module 'epoch/dist/js/epoch.min.js' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/epoch
@ ./res/web_modules/epoch/index.js 5:0-37
ERROR in ./res/web_modules/epoch/index.js
Module not found: Error: Cannot resolve module 'ng-epoch' in /work/node-v8.16.2-linux-x64/lib/node_modules/stf/res/web_modules/epoch
@ ./res/web_modules/epoch/index.js 6:0-19