Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/node.js/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Node.js 显示使用require(';express';时出错)_Node.js_Express - Fatal编程技术网

Node.js 显示使用require(';express';时出错)

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 framework。
当我在应用程序中使用它时。它显示找不到模块的错误。

此错误表明您没有正确安装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来解决问题