C:\Node4Compound>npm install -g compound
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail o
n node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible
. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher
to avoid a RegExp DoS issue
C:\Users\User\AppData\Roaming\npm\compound -> C:\Users\User\AppData\Roaming\npm\
node_modules\compound\bin\compound.js
C:\Users\User\AppData\Roaming\npm\rw -> C:\Users\User\AppData\Roaming\npm\node_m
odules\compound\bin\compound.js
C:\Users\User\AppData\Roaming\npm
`-- compound@1.2.4
C:\Node4Compound>compound init todo -coffee -tpl pug
create todo
create todo\app\
create todo\app\assets\
create todo\app\assets\coffeescripts\
create todo\app\assets\stylesheets\
create todo\app\models\
create todo\app\controllers\
create todo\app\helpers\
create todo\app\tools\
create todo\app\views\
create todo\app\views\layouts\
create todo\db\
create todo\db\seeds\
create todo\db\seeds\development\
create todo\log\
create todo\public\
create todo\public\images
create todo\public\stylesheets\
create todo\public\javascripts\
create todo\node_modules\
create todo\config\
create todo\config\locales\
create todo\config\initializers\
create todo\config\environments\
create todo\app\assets\coffeescripts\application.coffee
create todo\app\assets\stylesheets\application.styl
create todo\app\tools\database.js
create todo\config\environment.js
create todo\config\environments\development.js
create todo\config\environments\production.js
create todo\config\environments\test.js
create todo\config\routes.js
create todo\config\autoload.js
create todo\db\schema.js
create todo\public\index.html
create todo\public\stylesheets\bootstrap.css
create todo\public\stylesheets\bootstrap-responsive.css
create todo\public\images\glyphicons-halflings-white.png
create todo\public\images\glyphicons-halflings.png
create todo\public\images\compound.png
create todo\public\javascripts\rails.js
create todo\public\javascripts\bootstrap.js
create todo\public\javascripts\application.js
create todo\public\favicon.ico
create todo\Procfile
create todo\README.md
create todo\package.json
create todo\server.js
create todo\.gitignore
create todo\config\database.js
create todo\app\views\layouts\application_layout.ejs
create todo\app\controllers\application_controller.js
C:\Node4Compound>
C:\Node4Compound>cd todo
C:\Node4Compound\todo>dir
Volume in drive C has no label.
Volume Serial Number is 5449-2F7F
Directory of C:\Node4Compound\todo
13-Feb-17 03:24 PM <DIR> .
13-Feb-17 03:24 PM <DIR> ..
13-Feb-17 03:24 PM 154 .gitignore
13-Feb-17 03:24 PM <DIR> app
13-Feb-17 03:24 PM <DIR> config
13-Feb-17 03:24 PM <DIR> db
13-Feb-17 03:24 PM <DIR> log
13-Feb-17 03:24 PM <DIR> node_modules
13-Feb-17 03:24 PM 612 package.json
13-Feb-17 03:24 PM 19 Procfile
13-Feb-17 03:24 PM <DIR> public
13-Feb-17 03:24 PM 29 README.md
13-Feb-17 03:24 PM 839 server.js
5 File(s) 1,653 bytes
8 Dir(s) 182,149,808,128 bytes free
C:\Node4Compound\todo>npm install
Bunch of warnings on pug, graceful and minimatch
| +-- asynckit@0.4.0
| `-- combined-stream@1.0.5
| `-- delayed-stream@1.0.0
+-- formidable@1.1.1
+-- qs@6.3.0
`-- readable-stream@2.2.2
`-- isarray@1.0.0
npm WARN todo@0.0.1 No description
npm WARN todo@0.0.1 No repository field.
npm WARN todo@0.0.1 No license field.
C:\Node4Compound\todo>npm install -g pug
C:\Users\User\AppData\Roaming\npm
`-- pug@2.0.0-beta11
C:\Node4Compound\todo>npm install -g graceful
C:\Users\User\AppData\Roaming\npm
`-- graceful@1.0.1
C:\Node4Compound\todo>npm install -g minimatch
C:\Users\User\AppData\Roaming\npm
`-- minimatch@3.0.3
No more warning messages
C:\Node4Compound\todo>npm install
npm WARN todo@0.0.1 No description
npm WARN todo@0.0.1 No repository field.
npm WARN todo@0.0.1 No license field.
C:\Node4Compound\todo>
C:\Node4Compound\todo>node server.coffee
module.js:471
throw err;
^
Error: Cannot find module 'C:\Node4Compound\todo\server.coffee'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:149:9)
at bootstrap_node.js:509:3
WORKAROUND
C:\Node4Compound\todo>set DEBUG todo:* & npm start
Environment variable DEBUG todo:* not defined
> todo@0.0.1 start C:\Node4Compound\todo
> node server.js
express deprecated app.configure: Check app.get('env') in an if statement config
\environment.js:6:9
connect deprecated methodOverride: use method-override npm module instead config
\environment.js:16:25
express deprecated app.configure: Check app.get('env') in an if statement config
\environments\development.js:6:9
(node:7336) DeprecationWarning: sys is deprecated. Use util instead.
Compound server listening on 0.0.0.0:3000 within development environment
No comments:
Post a Comment