[英]NodeJS server throws “Updgrade Required” on loading pages even after being updated to latest npm version
I have a node project developed with NodeJS version 5.4.x and NPM version with 3.3.12 on windows. 我在Windows上使用NodeJS版本5.4.x和NPM版本3.3.12开发了一个节点项目。 When i tried to run the project after a Quite sometime now it throws "Upgrade Required" on page loaded(HTTP Error code - 426). 当我在相当一段时间后尝试运行该项目时,现在它在加载的页面上引发“需要升级”(HTTP错误代码-426)。
Then I have installed NodeJs with 5.5 Stable. 然后,我安装了带有5.5 Stable的NodeJ。 And ran couple of commands like 并运行了一些命令,例如
> npm install npm -g
> npm cache clean -f
> npm update -g
And Npm version is upgraded to 3.5.3. Npm版本升级到3.5.3。 And i ran the node js project on eclipse but still the issue persist. 我在Eclipse上运行了Node js项目,但问题仍然存在。 Need help. 需要帮忙。 Thanks 谢谢
The issue happened because of the installation conflict between non-administrative and administrative server instance. 发生此问题是由于非管理服务器实例与管理服务器实例之间的安装冲突。 The installation was done with administrator and somehow my instance was always working on non-administrative instance. 安装是由管理员完成的,因此我的实例始终可以在非管理实例上工作。 With admin rights I'm able to resolve this. 使用管理员权限,我可以解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.