使用nodejs连接mysql数据库实现增删改查 连接Node.js时报错“Cannot GET /”

参考: https://www.cnblogs.com/easth/p/nodejs_mysql.html

 

连接Node.js时报错“Cannot GET /” : 

 

解决方案:

只需要执行以下两行命令即可:

npm install connect

npm install serve-static

完美解决。。。

posted @ 2020-10-13 16:17  小魏code  阅读(707)  评论(0)    收藏  举报