Node.js | Cookbook

Find out location of command

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
npm -g install which
npm -g install which
npm -g install which

Working with local repositories

Installieren des Node Modules npm_lazy

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
npm -g install npm_lazy
npm -g install npm_lazy
npm -g install npm_lazy

Konfigurationsdatei erstellen

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
npm_lazy --init >npm_lazy.js
npm_lazy --init >npm_lazy.js
npm_lazy --init >npm_lazy.js

npm_lazy starten

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
npm_lazy --config npm_lazy.js
npm_lazy --config npm_lazy.js
npm_lazy --config npm_lazy.js

Node-Umgebungen zur Nutzung des lokaln repositries konfiguieren

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
npm config set registry http://localhost:8080/
npm config set registry http://localhost:8080/
npm config set registry http://localhost:8080/