webpack run common errors induction

Original link: http://www.cnblogs.com/jf-67/p/7966579.html

  Today, when you run the project, but also encountered a pit, in good company running the project, to my own computer on the error, suggesting that cross-domain, like a long time do not understand why, webpack configuration file ip address I also changed with the corresponding local ip, puzzling, after seeking the help of others, he soon learned the problem, that is, corresponding to the local ip to be changed and the company projects, he changed the ip good, run again , and they are given, shots are as follows:

  

  Later Baidu the Unexpected identifier The , found that the error actually quite common, it is usually because the writing is not standardized js code caused the error, such as missing a comma, semicolon, or double quotes which contains a double quote, and so easy to overlook errors . 

 

Reproduced in: https: //www.cnblogs.com/jf-67/p/7966579.html

Guess you like

Origin blog.csdn.net/weixin_30856965/article/details/94783307