Vue project started after the common warning error solution

There are multiple modules with names that only differ in casing.This can lead to unexpected........

Here Insert Picture Description
Reason: The file names and references inconsistent, one uppercase letter, one lowercase letter, For example, the file name is App.js, but when you cite was written app.js
... '@ / API / OA / workingHours / aWorkinghoursAllowed / index '; I put the file name aWorkinghoursallowed written aWorkinghoursAllowed, so it led to the warning above

52:12-24 Critical dependency: the request of a dependency is an expression

Here Insert Picture Description
The reason: the method can not be defined directly in main.js file and hang prototype instance, notes red frame part to solve the problem
just beginning to discover problem, get a long time have not been resolved, Baidu also a lot of related articles, and finally still not been resolved to give up, temporarily shelved in there
when not busy behind the project, it is the most stupid way to start all the code commented out, then line by line to test, the results were unprecedented directly about the problem son to find out

图片找不到 返回状态码 404 (Not Found)

Here Insert Picture Description
The reason: the introduction of the image path wording does not correct wording is as follows

1- write data in the url: the require ( './ Assets / Images / logo.png')
2- is written in the template

Request processing failed; nested exception is tk.mybatis.mapper.MapperException: 当前实体类不包含名为rnable的属性!

Here Insert Picture Description
The reason: before and after the field name is not on the table

Error: listen EADDRNOTAVAIL 192.168.1.166:9527
at Object.exports._errnoException (util.js:1020:11)
at exports._exceptionWithHostPort (util.js:1043:20)
at Server._listen2 (net.js:1245:19)
at listen (net.js:1294:10)
at net.js:1404:9
at _combinedTickCallback (internal/process/next_tick.js:83:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
at Module.runMain (module.js:606:11)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:504:3

Reason: The server IP address is changed

Error occured while trying to proxy to: localhost:9527/api//auth/jwt/token 并返回状态码500

Here Insert Picture Description
Cause: The back-end server does not turn on or off the network

Guess you like

Origin blog.csdn.net/weixin_41697323/article/details/93025294