You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
$ npm i -g @vue/cli
$ npm i -g @vue/cli-init
$ vue init xrei/vue-ssr project-name
$ cd project-name
$ npm install
$ npm run dev
-> ok
and
npm run build
ERROR in ./src/App.vue?vue&type=style&index=0&lang=css& (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??ref--4-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=style&index=0&lang=css&)
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
ValidationError: CSS Loader Invalid Options
options should NOT have additional properties
at validateOptions (E:\ssr-xrei\node_modules\schema-utils\src\validateOptions.js:32:11)
at Object.loader (E:\ssr-xrei\node_modules\css-loader\dist\index.js:44:28)
at runLoaders (E:\ssr-xrei\node_modules\webpack\lib\NormalModule.js:313:20)
at E:\ssr-xrei\node_modules\loader-runner\lib\LoaderRunner.js:367:11
at E:\ssr-xrei\node_modules\loader-runner\lib\LoaderRunner.js:233:18
at runSyncOrAsync (E:\ssr-xrei\node_modules\loader-runner\lib\LoaderRunner.js:143:3)
at iterateNormalLoaders (E:\ssr-xrei\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at iterateNormalLoaders (E:\ssr-xrei\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at E:\ssr-xrei\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at Object.context.callback (E:\ssr-xrei\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at Object.module.exports (E:\ssr-xrei\node_modules\vue-loader\lib\loaders\stylePostLoader.js:21:10)
@ ./src/App.vue?vue&type=style&index=0&lang=css& 1:0-329 1:345-348 1:350-676 1:350-676
@ ./src/App.vue
@ ./src/app.js
@ ./src/entry-client.js
After remove options: {minimize: true} from config.client.js AND update uglify
npm i -D uglifyjs-webpack-plugin@beta
template was built
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Node 12.7 latest
$ npm i -g @vue/cli
$ npm i -g @vue/cli-init
$ vue init xrei/vue-ssr project-name
$ cd project-name
$ npm install
$ npm run dev
-> ok
and
npm run build
After remove
options: {minimize: true}
from config.client.js AND update uglifynpm i -D uglifyjs-webpack-plugin@beta
template was built
The text was updated successfully, but these errors were encountered: