NodeJS server throws “Updgrade Required” on loading pages even after being updated to latest npm version

本小妞迷上赌 提交于 2019-12-12 04:18:21

问题


I have a node project developed with NodeJS version 5.4.x and NPM version with 3.3.12 on windows. When i tried to run the project after a Quite sometime now it throws "Upgrade Required" on page loaded(HTTP Error code - 426).

Then I have installed NodeJs with 5.5 Stable. 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. And i ran the node js project on eclipse but still the issue persist. Need help. Thanks


回答1:


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.



来源:https://stackoverflow.com/questions/34924698/nodejs-server-throws-updgrade-required-on-loading-pages-even-after-being-updat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!