nodejs
馒头爱代码
这个作者很懒,什么都没留下…
展开
-
warning in ./node_modules/express/lib/view.js 81:13-25 Critical dependency: the request of a depe
小弟刚开始接触nodenpm run dev 启动时报错,在网上找了好多帖,发现都说的不清楚,来向大神改怎么解决。warning in ./node_modules/express/lib/view.js81:13-25 Critical dependency: the request of a dependency is an expression...原创 2019-12-18 13:54:34 · 3928 阅读 · 11 评论 -
Net.createConnection is not a function
nodejs 连接mysql,总是出现Net.createConnection is not a function ,哪位大神给个解答,改怎么解决这个问题db.js 如下:varmysql=require('mysql');varpool=mysql.createPool({host:'localhost',user:...原创 2019-12-11 16:25:51 · 8031 阅读 · 13 评论