在powershell中运行 node app.js时报错,显示Error: Cannot find module 'body-parser'
解决方案:安装body-parser模块, npm install --save body-parser
安装完成后,再次执行node app.js,运行成功!
在powershell中运行 node app.js时报错,显示Error: Cannot find module 'body-parser'
解决方案:安装body-parser模块, npm install --save body-parser
安装完成后,再次执行node app.js,运行成功!