gtalarico / django-vue-template

Django Rest + Vue JS Template
https://django-vue-template-demo.herokuapp.com/
MIT License
1.58k stars 406 forks source link

Error: yarn build #48

Closed HotPotatoC closed 4 years ago

HotPotatoC commented 4 years ago
$ yarn build

|  Building for production...

 ERROR  Failed to compile with 3 errors                                 11:32:56

 error  in ./src/App.vue?vue&type=style&index=0&lang=css&

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js)
:
TypeError: this[NS] is not a function
    at D:\Documents\Coding\web\django-vue-template\node_modules\mini-css-extract
-plugin\dist\loader.js:148:15
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:296:11
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:553:14
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:13:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:550:30
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1294:35
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1285:32
    at eval (eval at create (D:\Documents\Coding\Web\django-vue-template\node_mo
dules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:9:1)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\uglifyjs-webpack
-plugin\dist\index.js:282:11
    at _class.runTasks (D:\Documents\Coding\Web\django-vue-template\node_modules
\uglifyjs-webpack-plugin\dist\uglify\index.js:63:9)
    at UglifyJsPlugin.optimizeFn (D:\Documents\Coding\Web\django-vue-template\no
de_modules\uglifyjs-webpack-plugin\dist\index.js:195:16)
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:5:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1280:36
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1276:32

 @ ./src/App.vue?vue&type=style&index=0&lang=css& 1:0-403 1:419-422 1:424-824 1:
424-824
 @ ./src/App.vue
 @ ./src/main.js
 @ multi ./src/main.js

 error  in ./src/components/VueDemo.vue?vue&type=style&index=0&id=1fef0148&scope
d=true&lang=css&

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js)
:
TypeError: this[NS] is not a function
    at D:\Documents\Coding\web\django-vue-template\node_modules\mini-css-extract
-plugin\dist\loader.js:148:15
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:296:11
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:553:14
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:13:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:550:30
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1294:35
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1285:32
    at eval (eval at create (D:\Documents\Coding\Web\django-vue-template\node_mo
dules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:9:1)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\uglifyjs-webpack
-plugin\dist\index.js:282:11
    at _class.runTasks (D:\Documents\Coding\Web\django-vue-template\node_modules
\uglifyjs-webpack-plugin\dist\uglify\index.js:63:9)
    at UglifyJsPlugin.optimizeFn (D:\Documents\Coding\Web\django-vue-template\no
de_modules\uglifyjs-webpack-plugin\dist\index.js:195:16)
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:5:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1280:36
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1276:32

 @ ./src/components/VueDemo.vue?vue&type=style&index=0&id=1fef0148&scoped=true&l
ang=css& 1:0-449 1:465-468 1:470-916 1:470-916
 @ ./src/components/VueDemo.vue
 @ ./src/router.js
 @ ./src/main.js
 @ multi ./src/main.js

 error  in ./src/components/Messages.vue?vue&type=style&index=0&id=34ae3f99&scop
ed=true&lang=css&

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js)
:
TypeError: this[NS] is not a function
    at D:\Documents\Coding\web\django-vue-template\node_modules\mini-css-extract
-plugin\dist\loader.js:148:15
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:296:11
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:553:14
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:13:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
iler.js:550:30
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1294:35
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1285:32
    at eval (eval at create (D:\Documents\Coding\Web\django-vue-template\node_mo
dules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:9:1)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\uglifyjs-webpack
-plugin\dist\index.js:282:11
    at _class.runTasks (D:\Documents\Coding\Web\django-vue-template\node_modules
\uglifyjs-webpack-plugin\dist\uglify\index.js:63:9)
    at UglifyJsPlugin.optimizeFn (D:\Documents\Coding\Web\django-vue-template\no
de_modules\uglifyjs-webpack-plugin\dist\index.js:195:16)
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:5:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1280:36
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\Documents\Coding\
Web\django-vue-template\node_modules\tapable\lib\HookCodeFactory.js:24:12), <ano
nymous>:4:1)
    at AsyncSeriesHook.lazyCompileHook [as _callAsync] (D:\Documents\Coding\Web\
django-vue-template\node_modules\tapable\lib\Hook.js:35:21)
    at D:\Documents\Coding\Web\django-vue-template\node_modules\webpack\lib\Comp
ilation.js:1276:32

 @ ./src/components/Messages.vue?vue&type=style&index=0&id=34ae3f99&scoped=true&
lang=css& 1:0-450 1:466-469 1:471-918 1:471-918
 @ ./src/components/Messages.vue
 @ ./src/router.js
 @ ./src/main.js
 @ multi ./src/main.js

 ERROR  Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.