adamjgrant / kickstart

Kickstart is a CSS library designed for modularity and fast page performance
http://getkickstart.com
1.87k stars 94 forks source link

Compile error #106

Open maryush opened 10 years ago

maryush commented 10 years ago

Hi, I'm use Win 8.1, and after type kickstrap new . I have error:

Copying in Kickstrap files... Compiling via Roots and launching server... compiling... mshell.js: internal error Error: ENOENT, no such file or directory 'C:\xampp\htdocs\ks01\public:' at Object.fs.mkdirSync (fs.js:642:18) at mkdirSyncRecursive (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:11:8) at mkdirSyncRecursive (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:16:3) at mkdirSyncRecursive (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:16:3) at mkdirSyncRecursive (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:16:3) at mkdirSyncRecursive (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:16:3) at mkdirSyncRecursive (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:16:3) at C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:63:7 at Array.forEach (native) at Object._mkdir (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\mkdir.js:48:8) at Object.mkdir (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\shelljs\src\common.js:172:23) at create_folders (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\lib\index.js:115:13) at C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\when\function.js:63:16 at Promise.FulfilledPromise._when (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\when\when.js:447:48) at Array.deliver as 0 at runHandlers (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\when\when.js:370:12) at Array.8 (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\when\when.js:130:5) at runHandlers (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\when\when.js:370:12) at drainQueue (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\node_modules\when\when.js:819:3) at process._tickCallback (node.js:419:13) "ctrl + c" to quit watching "roots watch" to watch project again.

Probably error it's from ':' char in path... roots in version 2.1.3

adamjgrant commented 10 years ago

Interesting. It looks like it is setting everything up correctly but the public folder is never created. Despite the error, do you see an assets and views folder as well as app.coffee?

maryush commented 10 years ago

Hmm, public folder is created... all folders and files in project directory:

C:\xampp\htdocs\ks01>ls -R
.:
app.coffee  assets  kickstrap-demo-data.json  log  public  readme.md  views

./assets:
apps  css  fonts  img  js  themes

./assets/apps:
advertisements  ang-app  disqus  kickstrap-logo  pong  sample-app  tinygrowl

./assets/apps/advertisements:
main.coffee  markup.txt  responsive.css

./assets/apps/ang-app:
controllers  directives  filters  main.coffee  resources

./assets/apps/ang-app/controllers:
docs.coffee  login.coffee     module.coffee
home.coffee  messages.coffee  products.coffee

./assets/apps/ang-app/directives:
enter.coffee  module.coffee  repeat.coffee  visible.coffee

./assets/apps/ang-app/filters:
module.coffee  startFrom.coffee

./assets/apps/ang-app/resources:
angular-route.js  firebaseSimpleLogin.js  gatedScope.js  ngprogress.js

./assets/apps/disqus:
main.coffee  markup.txt

./assets/apps/kickstrap-logo:
kickstraplogo-regular-webfont.eot   main.coffee
kickstraplogo-regular-webfont.svg   specimen_files
kickstraplogo-regular-webfont.ttf   stylesheet.css
kickstraplogo-regular-webfont.woff

./assets/apps/kickstrap-logo/specimen_files:
easytabs.js  grid_12-825-55-15.css  specimen_stylesheet.css

./assets/apps/pong:
description.txt  game.txt  main.js  style.css

./assets/apps/sample-app:
main.coffee  sample-app.css

./assets/apps/tinygrowl:
main.coffee

./assets/css:
_auth-buttons.styl  main.styl

./assets/fonts:
glyphicons-halflings-regular.eot  glyphicons-halflings-regular.ttf
glyphicons-halflings-regular.svg  glyphicons-halflings-regular.woff

./assets/img:
abergs.png       firebase.png  kickstrap-logo.png              poster.png
angular.png      fwdslash.png  kickstrap-logo_small_brown.png  skuvault.png
auth-icons.png   hn.png        loading.png                     t3n.png
creditcards.gif  ipreo.png     mashable.png                    vegankit.png
dzone.png        jspm.png      peugeot.png

./assets/js:
_badge.coffee  _extend.coffee  _settings.coffee  kickstrap.coffee

./assets/themes:
amelia.css     cosmo.css   journal.css    simplex.css   united.css
amelia.png     cosmo.png   journal.png    simplex.png   united.png
bootstrap.css  cyborg.css  kickstrap.css  slate.css     yeti.css
bootstrap.png  cyborg.png  kickstrap.png  slate.png     yeti.png
cerulean.css   flatly.css  readable.css   spacelab.css
cerulean.png   flatly.png  readable.png   spacelab.png

./public:

./views:
_example-growl.jade  blank.jade  index.jade     newpage.jade
_header.jade         cart.jade   layout.jade    partials
_pagination.jade     docs.jade   messages.jade  products.jade

./views/partials:
acknowledgments.jade  first-steps.jade    pages.jade         stylus.jade
api.jade              growls.jade         partials.jade      templates.jade
apps.jade             jade.jade           roots.jade
coffeescript.jade     optimizations.jade  social-login.jade

(Yes I have installed msys on Win - without *nix commands life is so hard ;) )

And now after reinstalling roots, and Kickstrap i get other error:

C:\xampp\htdocs\ks01>roots -v
3.0.0-rc.7

C:\xampp\htdocs\ks01>kickstrap watch

module.js:340
    throw err;
          ^
Error: Cannot find module '.\watch'
  at Function.Module._resolveFilename (module.js:338:15)
  at Function.Module._load (module.js:280:25)
  at Module.require (module.js:364:17)
  at require (module.js:380:17)
  at CLI.run (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots\lib\cli\in
dex.js:71:12)
  at Object.<anonymous> (C:\Users\Mariusz\AppData\Roaming\npm\node_modules\roots
\bin\roots:21:5)
  at Module._compile (module.js:456:26)
  at Object.Module._extensions..js (module.js:474:10)
  at Module.load (module.js:356:32)
  at Function.Module._load (module.js:312:12)
  at Function.Module.runMain (module.js:497:10)
  at startup (node.js:119:16)
  at node.js:906:3

[EDITED] Ok, i remove all node.js modules, cache, clean install node.js, Kickstrap, roots and still the same error but public folder is automatically created...

bretonio commented 6 years ago

My case is nearly exactly parallel except that I am on Debian Linux.

kickstart compile
kickstart watch
Cannot get /

and

roots compile
roots watch
Cannot get /

My other Roots projects are compiling and serving fine. The file structure created by kickstrap new my-kickstrap looks correct.

├── app.coffee
├── assets
│   ├── apps
│   │   ├── advertisements
│   │   │   ├── main.coffee
│   │   │   ├── markup.txt
│   │   │   └── responsive.css
│   │   ├── ang-app
│   │   │   ├── controllers
│   │   │   │   ├── docs.coffee
│   │   │   │   ├── home.coffee
│   │   │   │   ├── login.coffee
│   │   │   │   ├── messages.coffee
│   │   │   │   ├── module.coffee
│   │   │   │   └── products.coffee
│   │   │   ├── directives
│   │   │   │   ├── enter.coffee
│   │   │   │   ├── module.coffee
│   │   │   │   ├── repeat.coffee
│   │   │   │   └── visible.coffee
│   │   │   ├── filters
│   │   │   │   ├── module.coffee
│   │   │   │   └── startFrom.coffee
│   │   │   ├── main.coffee
│   │   │   └── resources
│   │   │       ├── angular-route.js
│   │   │       ├── firebaseSimpleLogin.js
│   │   │       ├── gatedScope.js
│   │   │       └── ngprogress.js
│   │   ├── disqus
│   │   │   ├── main.coffee
│   │   │   └── markup.txt
│   │   ├── kickstrap-logo
│   │   │   ├── kickstraplogo-regular-webfont.eot
│   │   │   ├── kickstraplogo-regular-webfont.svg
│   │   │   ├── kickstraplogo-regular-webfont.ttf
│   │   │   ├── kickstraplogo-regular-webfont.woff
│   │   │   ├── main.coffee
│   │   │   ├── specimen_files
│   │   │   │   ├── easytabs.js
│   │   │   │   ├── grid_12-825-55-15.css
│   │   │   │   └── specimen_stylesheet.css
│   │   │   └── stylesheet.css
│   │   ├── pong
│   │   │   ├── description.txt
│   │   │   ├── game.txt
│   │   │   ├── main.js
│   │   │   └── style.css
│   │   ├── sample-app
│   │   │   ├── main.coffee
│   │   │   └── sample-app.css
│   │   └── tinygrowl
│   │       └── main.coffee
│   ├── css
│   │   ├── _auth-buttons.styl
│   │   └── main.styl
│   ├── fonts
│   │   ├── glyphicons-halflings-regular.eot
│   │   ├── glyphicons-halflings-regular.svg
│   │   ├── glyphicons-halflings-regular.ttf
│   │   └── glyphicons-halflings-regular.woff
│   ├── img
│   │   ├── abergs.png
│   │   ├── angular.png
│   │   ├── auth-icons.png
│   │   ├── creditcards.gif
│   │   ├── dzone.png
│   │   ├── firebase.png
│   │   ├── fwdslash.png
│   │   ├── hn.png
│   │   ├── ipreo.png
│   │   ├── jspm.png
│   │   ├── kickstrap-logo.png
│   │   ├── kickstrap-logo_small_brown.png
│   │   ├── loading.png
│   │   ├── mashable.png
│   │   ├── peugeot.png
│   │   ├── poster.png
│   │   ├── skuvault.png
│   │   ├── t3n.png
│   │   └── vegankit.png
│   ├── js
│   │   ├── _badge.coffee
│   │   ├── _extend.coffee
│   │   ├── kickstrap.coffee
│   │   └── _settings.coffee
│   └── themes
│       ├── amelia.css
│       ├── amelia.png
│       ├── bootstrap.css
│       ├── bootstrap.png
│       ├── cerulean.css
│       ├── cerulean.png
│       ├── cosmo.css
│       ├── cosmo.png
│       ├── cyborg.css
│       ├── cyborg.png
│       ├── flatly.css
│       ├── flatly.png
│       ├── journal.css
│       ├── journal.png
│       ├── kickstrap.css
│       ├── kickstrap.png
│       ├── readable.css
│       ├── readable.png
│       ├── simplex.css
│       ├── simplex.png
│       ├── slate.css
│       ├── slate.png
│       ├── spacelab.css
│       ├── spacelab.png
│       ├── united.css
│       ├── united.png
│       ├── yeti.css
│       └── yeti.png
├── kickstrap-demo-data.json
├── public
│   ├── apps
│   │   ├── advertisements
│   │   │   ├── main.coffee
│   │   │   ├── markup.txt
│   │   │   └── responsive.css
│   │   ├── ang-app
│   │   │   ├── controllers
│   │   │   │   ├── docs.coffee
│   │   │   │   ├── home.coffee
│   │   │   │   ├── login.coffee
│   │   │   │   ├── messages.coffee
│   │   │   │   ├── module.coffee
│   │   │   │   └── products.coffee
│   │   │   ├── directives
│   │   │   │   ├── enter.coffee
│   │   │   │   ├── module.coffee
│   │   │   │   ├── repeat.coffee
│   │   │   │   └── visible.coffee
│   │   │   ├── filters
│   │   │   │   ├── module.coffee
│   │   │   │   └── startFrom.coffee
│   │   │   ├── main.coffee
│   │   │   └── resources
│   │   │       ├── angular-route.js
│   │   │       ├── firebaseSimpleLogin.js
│   │   │       ├── gatedScope.js
│   │   │       └── ngprogress.js
│   │   ├── disqus
│   │   │   ├── main.coffee
│   │   │   └── markup.txt
│   │   ├── kickstrap-logo
│   │   │   ├── kickstraplogo-regular-webfont.eot
│   │   │   ├── kickstraplogo-regular-webfont.svg
│   │   │   ├── kickstraplogo-regular-webfont.ttf
│   │   │   ├── kickstraplogo-regular-webfont.woff
│   │   │   ├── main.coffee
│   │   │   ├── specimen_files
│   │   │   │   ├── easytabs.js
│   │   │   │   ├── grid_12-825-55-15.css
│   │   │   │   └── specimen_stylesheet.css
│   │   │   └── stylesheet.css
│   │   ├── pong
│   │   │   ├── description.txt
│   │   │   ├── game.txt
│   │   │   ├── main.js
│   │   │   └── style.css
│   │   ├── sample-app
│   │   │   ├── main.coffee
│   │   │   └── sample-app.css
│   │   └── tinygrowl
│   │       └── main.coffee
│   ├── blank.jade
│   ├── cart.jade
│   ├── css
│   │   ├── _auth-buttons.styl
│   │   └── main.styl
│   ├── docs.jade
│   ├── _example-growl.jade
│   ├── fonts
│   │   ├── glyphicons-halflings-regular.eot
│   │   ├── glyphicons-halflings-regular.svg
│   │   ├── glyphicons-halflings-regular.ttf
│   │   └── glyphicons-halflings-regular.woff
│   ├── _header.jade
│   ├── img
│   │   ├── abergs.png
│   │   ├── angular.png
│   │   ├── auth-icons.png
│   │   ├── creditcards.gif
│   │   ├── dzone.png
│   │   ├── firebase.png
│   │   ├── fwdslash.png
│   │   ├── hn.png
│   │   ├── ipreo.png
│   │   ├── jspm.png
│   │   ├── kickstrap-logo.png
│   │   ├── kickstrap-logo_small_brown.png
│   │   ├── loading.png
│   │   ├── mashable.png
│   │   ├── peugeot.png
│   │   ├── poster.png
│   │   ├── skuvault.png
│   │   ├── t3n.png
│   │   └── vegankit.png
│   ├── index.jade
│   ├── js
│   │   ├── _badge.coffee
│   │   ├── _extend.coffee
│   │   ├── kickstrap.coffee
│   │   └── _settings.coffee
│   ├── kickstrap-demo-data.json
│   ├── layout.jade
│   ├── messages.jade
│   ├── newpage.jade
│   ├── _pagination.jade
│   ├── partials
│   │   ├── acknowledgments.jade
│   │   ├── api.jade
│   │   ├── apps.jade
│   │   ├── coffeescript.jade
│   │   ├── first-steps.jade
│   │   ├── growls.jade
│   │   ├── jade.jade
│   │   ├── optimizations.jade
│   │   ├── pages.jade
│   │   ├── partials.jade
│   │   ├── roots.jade
│   │   ├── social-login.jade
│   │   ├── stylus.jade
│   │   └── templates.jade
│   ├── products.jade
│   ├── readme.md
│   └── themes
│       ├── amelia.css
│       ├── amelia.png
│       ├── bootstrap.css
│       ├── bootstrap.png
│       ├── cerulean.css
│       ├── cerulean.png
│       ├── cosmo.css
│       ├── cosmo.png
│       ├── cyborg.css
│       ├── cyborg.png
│       ├── flatly.css
│       ├── flatly.png
│       ├── journal.css
│       ├── journal.png
│       ├── kickstrap.css
│       ├── kickstrap.png
│       ├── readable.css
│       ├── readable.png
│       ├── simplex.css
│       ├── simplex.png
│       ├── slate.css
│       ├── slate.png
│       ├── spacelab.css
│       ├── spacelab.png
│       ├── united.css
│       ├── united.png
│       ├── yeti.css
│       └── yeti.png
├── readme.md
├── tree.txt
└── views
    ├── blank.jade
    ├── cart.jade
    ├── docs.jade
    ├── _example-growl.jade
    ├── _header.jade
    ├── index.jade
    ├── layout.jade
    ├── messages.jade
    ├── newpage.jade
    ├── _pagination.jade
    ├── partials
    │   ├── acknowledgments.jade
    │   ├── api.jade
    │   ├── apps.jade
    │   ├── coffeescript.jade
    │   ├── first-steps.jade
    │   ├── growls.jade
    │   ├── jade.jade
    │   ├── optimizations.jade
    │   ├── pages.jade
    │   ├── partials.jade
    │   ├── roots.jade
    │   ├── social-login.jade
    │   ├── stylus.jade
    │   └── templates.jade
    └── products.jade

41 directories, 246 files

This looks like a great project. Help me use it!