Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (24 sloc) 979 Bytes

How to install Node.js and We.js in windows 10

Requirements

Node.js

  1. Go to https://nodejs.org
  • Click in Download for windows link
  • Download and run the install program

Mysql server

See: http://dev.mysql.com/downloads/mysql/ and follow the instructions

Graphicsmagick

See: http://www.graphicsmagick.org/INSTALL-windows.html#installing-using-installer-package

The we.js

In your power shell or other shell run:

First clear cache to skip some permissions error:

npm cache clear

Then install we, yo and generator-wejs:

npm install we yo generator-wejs -g

Know problems

  • npm run [command] and npm test dont works then use the command node ./app.js for run your app
  • if return network error in npm install command, delete the node_modules folder and reinstall
  • if you have a file open in your editor from any submodule or linked module the npm link or npm install commands will return permissions error