报错
npm install 之后 npm run build 报错 [email protected] build /Users/zyz/study/webpack-examples-master/basic
webpack --mode production
/Users/zhaoyongzhen/study/webpack-examples-master/basic/node_modules/object-copy/node_modules/define-property/index.js:1 (function (exports, require, module, __filename, __dirname) { � ^
SyntaxError: Invalid or unexpected token at NativeCompileCache._moduleCompile (/Users/zhaoyongzhen/study/webpack-examples-master/basic/node_modules/v8-compile-cache/v8-compile-cache.js:226:18) at Module._compile (/Users/zhaoyongzhen/study/webpack-examples-master/basic/node_modules/v8-compile-cache/v8-compile-cache.js:172:36) at Object.Module._extensions..js (module.js:663:10) at Module.load (module.js:565:32)