vue-cli-template-library icon indicating copy to clipboard operation
vue-cli-template-library copied to clipboard

Error lint with a fresh installation

Open railken opened this issue 6 years ago • 0 comments

After a fresh installation, running npm run test will throw the following errors:

No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.
No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred.

rollup.config.js

19:16  error  Replace `·pack.dependencies·&&·Object.assign({},·...Object.keys(pack.dependencies).map((key)` with `⏎··pack.dependencies·&&⏎··Object.assign(⏎····{},⏎····...Object.keys(pack.dependencies).map(key`  prettier/prettier
  20:1   error  Insert `····`                                                                                                                                                                                        prettier/prettier
  21:1   error  Replace `}))` with `····}))⏎··`                                                                                                                                                                      prettier/prettier
  57:15  error  Replace `(id)` with `id`                                                                                                                                                                             prettier/prettier

✖ 4 problems (4 errors, 0 warnings)
  4 errors, 0 warnings potentially fixable with the `--fix` option.

railken avatar Feb 04 '19 15:02 railken