vue-2.0-FamilyBucket icon indicating copy to clipboard operation
vue-2.0-FamilyBucket copied to clipboard

Webpack有错

Open tso-si opened this issue 8 years ago • 1 comments

mac下npm install之后 npm run dev/build都报错。webpack的错。 Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

  • configuration.resolve has an unknown property 'root'. These properties are valid: object { alias?, aliasFields?, cachePredicate?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, resolver?, symlinks?, unsafeCache? }
  • configuration.resolve.extensions[0] should not be empty.

tso-si avatar Oct 08 '16 13:10 tso-si

you can try to modify webpack.config.jsresolve

javascript extensions: ['.js', '.vue']


maybe this is the new use of webpack problem

yelingfeng avatar Oct 09 '16 01:10 yelingfeng