Install node environment today, encountered the problem of installation, prompt error roll back,because of a Error.node.js Setup wizard ended prematurely; finally found the bottom of this article, a good solution to my problem.
Article Source: http://caibaojian.com/nodejs-roll-back.html
Original link: http://caibaojian.com/nodejs-roll-back.html
InstallationNodejs
The answer is found here: Install in Windows, briefly below the installation steps: ·
1. Download Nodejs engine, 32bit version or 64bit version
2. Download the latest version of NPM ZIP format package: http://nodejs.org/dist/npm/
3, in a certain location of the hard disk, such as the D disk under the establishment of a file Nodejs, the above two downloaded things are put here, npm to decompress.
4. Configure two environment variables: one is the directory D:\\nodejs to add Node.exe on PATH, one is to increase the environment variable Node_path, and the value is d:\\nodejs\\node_modules.
5, Win7 environment configuration in the system "Advanced system Settings" advanced "environment variable" system variable to find path, edit plus D:\\nodejs, plus node_path variables and values.
6. Install Express: Open cmd command line, use command line to navigate to this node directory, type the instruction NPM install express[install Express to relative path] or NPM install express-g[installation Express to absolute path ]
Here, you enter node-v in the command line if the output Nodejs version is installed successfully.
The version of Update Nodejs can be entered at the command line:npm update npm -g
[Go] nodejs installation and NPM installation failed solution