"C:\Program Files\nodejs\node.exe" "C:\Program Files (x86)\Yarn\bin\yarn.js" run build
yarn run v1.12.3
$ vue-cli-service build --name himself65-website --modern
(node:7340) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(node:7340) UnhandledPromiseRejectionWarning: Error: Couldn't find preset "env" relative to directory "C:\\Users\\76128\\Desktop\\Himself65\\himself65"
at C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\file\options\option-manager.js:293:19
at Array.map (<anonymous>)
at OptionManager.resolvePresets (C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\file\options\option-manager.js:275:20)
at OptionManager.mergePresets (C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\file\options\option-manager.js:264:10)
at OptionManager.mergeOptions (C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\file\options\option-manager.js:249:14)
at OptionManager.init (C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\file\options\option-manager.js:368:12)
at File.initOptions (C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\file\index.js:212:65)
at new File (C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\file\index.js:135:24)
at Pipeline.transform (C:\Users\76128\Desktop\Himself65\himself65\node_modules\babel-core\lib\transformation\pipeline.js:46:16)
at babelCompiler (C:\Users\76128\Desktop\Himself65\himself65\node_modules\sw-register-webpack-plugin\index.js:43:18)
at C:\Users\76128\Desktop\Himself65\himself65\node_modules\sw-register-webpack-plugin\index.js:120:15
at _promise2.then._result2 (eval at create (C:\Users\76128\Desktop\Himself65\himself65\node_modules\tapable\lib\HookCodeFactory.js:32:10), <anonymous>:24:1)
(node:7340) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:7340) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 23.58s.
Process finished with exit code 0
when add this plugin to
vue.config.js
my config