vuejs没有在vps上工作

时间:2017-09-10 21:52:21

标签: vue.js vuejs2 vps

使用[vue init webpack my-project]初始化的应用程序在vps上编译successufly,但在访问servername:8080时它没有呈现任何内容,终端日志:     DONE Compiled successfully in 3245ms

  

聆听http://localhost:8080

(node:23617) UnhandledPromiseRejectionWarning: Unhandled promise 
rejection (rejection id: 1): Error: Exited with code 3
(node:23617) [DEP0018] DeprecationWarning: Unhandled promise 
rejections are deprecated. In the future, promise rejections that are 
not handled will terminate the Node.js process with a non-zero exit 
code.

浏览器控制台显示此错误:Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH app.js

感谢进展中:))

0 个答案:

没有答案