linzebingo / vue-ssr-typescript Goto Github PK
View Code? Open in Web Editor NEWvuejs server side renderer with typescript and webpack
License: MIT License
vuejs server side renderer with typescript and webpack
License: MIT License
In console:
ERROR in ./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0eb80bf4","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue
Module build failed: ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'minimize'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
at validate (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:85:11)
at Object.loader (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/dist/index.js:34:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0eb80bf4","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue 4:14-325
@ ./src/App.vue
@ ./src/app.ts
@ ./src/entry-client.ts
ERROR in ./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6f6ea10b","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/ItemView.vue
Module build failed: ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'minimize'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
at validate (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:85:11)
at Object.loader (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/dist/index.js:34:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6f6ea10b","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/ItemView.vue 4:14-342
@ ./src/views/ItemView.vue
@ ./src/router/index.ts
@ ./src/app.ts
@ ./src/entry-client.ts
ERROR in ./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-41764d7b","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/UserView.vue
Module build failed: ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'minimize'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
at validate (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:85:11)
at Object.loader (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/dist/index.js:34:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-41764d7b","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/UserView.vue 4:14-342
@ ./src/views/UserView.vue
@ ./src/router/index.ts
@ ./src/app.ts
@ ./src/entry-client.ts
ERROR in ./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0c0e6bf2","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Spinner.vue
Module build failed: ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'minimize'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
at validate (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:85:11)
at Object.loader (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/dist/index.js:34:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0c0e6bf2","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Spinner.vue 4:14-341
@ ./src/components/Spinner.vue
@ ./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/ItemView.vue
@ ./src/views/ItemView.vue
@ ./src/router/index.ts
@ ./src/app.ts
@ ./src/entry-client.ts
ERROR in ./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6235c299","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Comment.vue
Module build failed: ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'minimize'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
at validate (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:85:11)
at Object.loader (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/dist/index.js:34:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-6235c299","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Comment.vue 4:14-341
@ ./src/components/Comment.vue
@ ./~/vue-loader/lib/selector.js?type=script&index=0!./src/views/ItemView.vue
@ ./src/views/ItemView.vue
@ ./src/router/index.ts
@ ./src/app.ts
@ ./src/entry-client.ts
ERROR in ./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-d863a588","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/ItemList.vue
Module build failed: ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'minimize'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
at validate (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:85:11)
at Object.loader (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/dist/index.js:34:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-d863a588","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/ItemList.vue 4:14-342
@ ./src/components/ItemList.vue
@ ./src/views/CreateListView.ts
@ ./src/router/index.ts
@ ./src/app.ts
@ ./src/entry-client.ts
ERROR in ./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7b8d15b1","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Item.vue
Module build failed: ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'minimize'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
at validate (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:85:11)
at Object.loader (/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/css-loader/dist/index.js:34:28)
@ ./~/vue-style-loader!./~/css-loader/dist/cjs.js?minimize!./~/vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-7b8d15b1","scoped":false,"hasInlineConfig":true}!./~/stylus-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/components/Item.vue 4:14-338
@ ./src/components/Item.vue
@ ./~/vue-loader/lib/selector.js?type=script&index=0!./src/components/ItemList.vue
@ ./src/components/ItemList.vue
@ ./src/views/CreateListView.ts
@ ./src/router/index.ts
@ ./src/app.ts
@ ./src/entry-client.ts
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build:client: `cross-env NODE_ENV=production webpack --config build/webpack.client.config.js --progress --hide-modules`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build:client 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! /home/w495/.npm/_logs/2020-03-14T23_32_23_829Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `rimraf dist && npm run build:client && npm run build:server`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/w495/.npm/_logs/2020-03-14T23_32_23_845Z-debug.log
Log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 info lifecycle [email protected]~build: [email protected]
7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript/node_modules/.bin:/home/w495/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/cuda/bin:/home/w495/.local/share/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin
9 verbose lifecycle [email protected]~build: CWD: /data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript
10 silly lifecycle [email protected]~build: Args: [ '-c', 'rimraf dist && npm run build:client && npm run build:server' ]
11 silly lifecycle [email protected]~build: Returned: code: 2 signal: null
12 info lifecycle [email protected]~build: Failed to exec build script
13 verbose stack Error: [email protected] build: `rimraf dist && npm run build:client && npm run build:server`
13 verbose stack Exit status 2
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:316:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:316:20)
13 verbose stack at maybeClose (internal/child_process.js:1026:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid [email protected]
15 verbose cwd /data/espa/Projects/exps/vue-ts-exps/reps/linzebingo/vue-ssr-typescript
16 verbose Linux 5.5.8-1-MANJARO
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
18 verbose node v13.10.1
19 verbose npm v6.14.2
20 error code ELIFECYCLE
21 error errno 2
22 error [email protected] build: `rimraf dist && npm run build:client && npm run build:server`
22 error Exit status 2
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
Log:
(8,120): error TS2370: A rest parameter must be of an array type.
/.../vue-ssr-typescript/node_modules/vuex/types/helpers.d.ts
(8,85): error TS2370: A rest parameter must be of an array type.
/.../vue-ssr-typescript/node_modules/vuex/types/helpers.d.ts
(8,120): error TS2370: A rest parameter must be of an array type.
Browser shows:
waiting for compilation... refresh in a moment.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.