You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
你的代码里面没有添加'use strict';这将导致在低版本的nodejs里面运行报错.能不能加上.
ERROR in ./projects/iphone8/tpl/award-list.tpl
Module build failed: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:54:16)
at Module._compile (module.js:375:25)
at Object.Module._extensions..js (module.js:406:10)
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
at loadLoader (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/loadLoader.js:13:17)
at iteratePitchingLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at runLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:362:2)
at NormalModule.doBuild (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModule.js:179:3)
at NormalModule.build (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModule.js:268:15)
at Compilation.buildModule (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/Compilation.js:146:10)
at factoryCallback (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/Compilation.js:329:11)
at /Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModuleFactory.js:253:5
at /Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModuleFactory.js:99:14
at /Users/zhuzheng/projects/activity-vue/node_modules/tapable/lib/Tapable.js:268:11
at NormalModuleFactory. (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/CompatibilityPlugin.js:52:5)
@ ./projects/iphone8/js/UI/WinnerList.js 10:0-52
@ ./projects/iphone8/js/iphone8.js
@ multi ./projects/iphone8/js/iphone8.js
The text was updated successfully, but these errors were encountered:
你的代码里面没有添加'use strict';这将导致在低版本的nodejs里面运行报错.能不能加上.
ERROR in ./projects/iphone8/tpl/award-list.tpl
Module build failed: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:54:16)
at Module._compile (module.js:375:25)
at Object.Module._extensions..js (module.js:406:10)
at Module.load (module.js:345:32)
at Function.Module._load (module.js:302:12)
at Module.require (module.js:355:17)
at require (internal/module.js:13:17)
at loadLoader (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/loadLoader.js:13:17)
at iteratePitchingLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at iteratePitchingLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:165:10)
at /Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:173:18
at loadLoader (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/loadLoader.js:36:3)
at iteratePitchingLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:169:2)
at runLoaders (/Users/zhuzheng/projects/activity-vue/node_modules/loader-runner/lib/LoaderRunner.js:362:2)
at NormalModule.doBuild (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModule.js:179:3)
at NormalModule.build (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModule.js:268:15)
at Compilation.buildModule (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/Compilation.js:146:10)
at factoryCallback (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/Compilation.js:329:11)
at /Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModuleFactory.js:253:5
at /Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/NormalModuleFactory.js:99:14
at /Users/zhuzheng/projects/activity-vue/node_modules/tapable/lib/Tapable.js:268:11
at NormalModuleFactory. (/Users/zhuzheng/projects/activity-vue/node_modules/webpack/lib/CompatibilityPlugin.js:52:5)
@ ./projects/iphone8/js/UI/WinnerList.js 10:0-52
@ ./projects/iphone8/js/iphone8.js
@ multi ./projects/iphone8/js/iphone8.js
The text was updated successfully, but these errors were encountered: