Skip to content

无法build,怎么弄呢? #7

Description

@jay763190097
> cooking build


[cooking@1.5.4] - Loaded success: lint
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
fallbackLoader option has been deprecated - replace with "fallback"
loader option has been deprecated - replace with "use"
[cooking@1.5.4] - Loaded success: vue2

(node:3112) [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "elemefe")
[cooking@1.5.4] - Time: 2523ms
   Asset     Size  Chunks             Chunk Names
index.js  1.29 kB       0  [emitted]  index

ERROR in ./src/picker.vue

  ✘  http://eslint.org/docs/rules/  Parsing error: Unexpected token :  
  src\picker.vue:2:23
  


✘ 1 problem (1 error, 0 warnings)


Errors:
  1  http://eslint.org/docs/rules/null
 @ ./src/index.js 7:14-37
 @ multi ./src/index.js

ERROR in ./src/picker.vue
vue-loader was used without the corresponding plugin. Make sure to include VueLoaderPlugin in your webpack config.
 @ ./src/index.js 7:14-37
 @ multi ./src/index.js

ERROR in ./src/picker.vue
[vue-loader] vue-template-compiler must be installed as a peer dependency, or a compatible compiler implementation must be passed via options.
 @ ./src/index.js 7:14-37
 @ multi ./src/index.js

ERROR in ./src/picker.vue
Module build failed: TypeError: Cannot read property 'parseComponent' of undefined
    at parse (D:\user\01375894\桌面\mint-picker\node_modules\@vue\component-compiler-utils\dist\parse.js:14:23)
    at Object.module.exports (D:\user\01375894\桌面\mint-picker\node_modules\vue-loader\lib\index.js:67:22)
 @ ./src/index.js 7:14-37
 @ multi ./src/index.js

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! mint-picker@2.0.0 build: `cooking build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mint-picker@2.0.0 build 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!     d:\user\01375894\Application Data\npm-cache\_logs\2019-04-25T10_06_26_200Z-debug.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions