V
V
Vadim kyklaed2018-04-26 21:05:28
webpack
Vadim kyklaed, 2018-04-26 21:05:28

Vuejs + django build problem, how to solve?

Hello, help me understand what is missing.
here is the error code along with the launch command, etc.
I can’t understand why it can’t find the modules, everything is fine
[email protected]:~/my_django_vue$ ./node_modules/.bin/webpack
(node:3817) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
Hash: 189e7e3e3529df45ec53
Version: webpack 4.6.0
Time: 9516ms
Built at: 2018-04-26 20:58:49
1 asset
Entrypoint main = app.js
[0] (webpack)/buildin /global.js 489 bytes {0} [built]
[7] ./assets/js/index.js 462 bytes {0} [built]
+ 6 hidden modules
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
ERROR in ./assets/js/index.js
Module not found: Error: Can't resolve './assets/js/components/Demo.vue ' in '/home/kyklaed/my_django_vue/assets/js'
@ ./assets/js/index.js 7:12-54

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question