smart-home icon indicating copy to clipboard operation
smart-home copied to clipboard

求助!npm run dev报错

Open leitao0819 opened this issue 5 years ago • 2 comments

filename: utils.assetsPath([name].${config.dev.fileExt.style}) ^

TypeError: Cannot read property 'style' of undefined at Object. (C:\Users\Yunhu Timlei\Downloads\smart-home-master\build\webpack.dev.conf.js:47:63) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object. (C:\Users\XX\Downloads\smart-home-master\build\dev-server.js:15:21) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) at startup (internal/bootstrap/node.js:283:19) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] dev: node build/dev-server.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] dev script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! G:\nodejs\node_cache_logs\2019-04-24T12_50_39_809Z-debug.log

leitao0819 avatar Apr 24 '19 12:04 leitao0819