Skip to content

Instantly share code, notes, and snippets.

@hansmbakker
Last active August 29, 2015 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hansmbakker/2f808f1c0161a25fa459 to your computer and use it in GitHub Desktop.
Save hansmbakker/2f808f1c0161a25fa459 to your computer and use it in GitHub Desktop.
npm install
DiskStation> node
-ash: node: not found
DiskStation> export PATH=$PATH:/volume1/@appstore/node/bin/
DiskStation> node
>
(^C again to quit)
>
DiskStation> ls
@eaDir package.json
DiskStation> npm install
npm WARN package.json first-express-app@0.0.1 No repository field.
npm WARN package.json first-express-app@0.0.1 No README data
express@3.18.1 node_modules/express
├── basic-auth@1.0.0
├── utils-merge@1.0.0
├── merge-descriptors@0.0.2
├── fresh@0.2.4
├── escape-html@1.0.1
├── cookie@0.1.2
├── range-parser@1.0.2
├── cookie-signature@1.0.5
├── vary@1.0.0
├── media-typer@0.3.0
├── parseurl@1.3.0
├── methods@1.1.0
├── content-disposition@0.5.0
├── depd@1.0.0
├── debug@2.1.0 (ms@0.6.2)
├── commander@1.3.2 (keypress@0.1.0)
├── proxy-addr@1.0.3 (forwarded@0.1.0, ipaddr.js@0.1.3)
├── etag@1.5.0 (crc@3.0.0)
├── send@0.10.1 (destroy@1.0.3, ms@0.6.2, mime@1.2.11, on-finished@2.1.1)
├── mkdirp@0.5.0 (minimist@0.0.8)
└── connect@2.27.1 (response-time@2.2.0, pause@0.0.1, vhost@3.0.0, basic-auth-connect@1.0.0, on-headers@1.0.0, bytes@1.0.0, method-override@2.3.0, serve-static@1.7.1, cookie-parser@1.3.3, connect-timeout@1.4.0, qs@2.3.0, serve-favicon@2.1.6, http-errors@1.2.7, finalhandler@0.3.2, morgan@1.4.1, multiparty@3.3.2, express-session@1.9.1, csurf@1.6.2, type-is@1.5.2, body-parser@1.9.1, errorhandler@1.2.2, serve-index@1.5.0, compression@1.2.0)
DiskStation>
{
"name": "first-express-app",
"description": "a fine piece of express art",
"version": "0.0.1",
"dependencies": {
"express": "3.x"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment