Node.js 显示使用require(';express';时出错)
我已在全球安装了Express framework。Node.js 显示使用require(';express';时出错),node.js,express,Node.js,Express,我已在全球安装了Express framework。 当我在应用程序中使用它时。它显示找不到模块的错误。此错误表明您没有正确安装Express,我建议您在项目中本地安装Express。 使用此命令: //init your app npm init //install the express on your project npm install express --save 再见 此错误表明您没有正确安装Express,我建议您在项目中本地安装Express。 使用此命令: //init y
当我在应用程序中使用它时。它显示找不到模块的错误。此错误表明您没有正确安装Express,我建议您在项目中本地安装Express。 使用此命令:
//init your app
npm init
//install the express on your project
npm install express --save
再见 此错误表明您没有正确安装Express,我建议您在项目中本地安装Express。 使用此命令:
//init your app
npm init
//install the express on your project
npm install express --save
再见 添加您向我们显示可以在日志或控制台中找到的错误消息?尽管我在当前目录中使用了npm link express来解决问题添加您向我们显示可以在日志或控制台中找到的错误消息?尽管我在当前目录中使用了npm link express来解决问题