mojotech / jeet

The most advanced, yet intuitive, grid system available for Sass or Stylus
http://jeet.gs
MIT License
2.99k stars 250 forks source link

module.js 340 throw err ... #117

Closed nanotime closed 10 years ago

nanotime commented 10 years ago

Again, i have a bit of time to play with jeet (4.0, surprise nano!) but, like ever with all in my dev-life, i've a problem at the beginning of a project :3

The problem:?

̣module.js:340
    throw err;
          ^
Error: Cannot find module 'connect'
    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 Object.<anonymous> (/usr/lib/node_modules/jeet/index.js:9:15)
    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 Module.require (module.js:364:17)

This happens when i try to run

stylus -u jeet -w -c

The idea is use jeet implicit and axis importing for a simple web project. I try searching "connect" in npm but the list of packages is TITANIC! D:

And yes, i edited the "index.js" with the node usage example code, that's right, no?

Any idea? :D

corysimmons commented 10 years ago

Cmd + F "Axis" yup.

Axis no longer plays nice with Jeet. Try using Jeet by itself.

nanotime commented 10 years ago

Hmm good, i fix the problem.

But, Axis don't work anymore with jeet? o.o

corysimmons commented 10 years ago

No. I'm going to try to reconcile this soon but yeah it just doesn't work with it right now. =(

nanotime commented 10 years ago

Oww damn, axis is cool, and jeet u.u

Well, you can close this if you want ;)

corysimmons commented 10 years ago

Maybe they'll cross paths again someday. :(

jescalan commented 10 years ago

If it helps, axis is in the middle of a significant rewrite that should make it a lot more compatible :grinning:

corysimmons commented 10 years ago

alt foo

corysimmons commented 10 years ago

Can I request Axis, Jeet, and Autoprefixer be able to run as stylus -u jeet axis-css stylus-autoprefixer -w? I'll do whatever you need to make Jeet compatible with this.

jescalan commented 10 years ago

Yup, that's my goal. Actually my goal is to allow them to be pipelined into roots in that same manner, since it's much better than a slew of command line watchers, but if one works the other should as well.

nanotime commented 10 years ago

oh please

stylus -u jeet axis-css stylus-autoprefixer -w

just love that thing --

corysimmons commented 10 years ago

No worries nanotime. This weekend I'm working really hard on Jeet to bring it back to a familiar state. Done trying to integrate Jeet with whatever. This weekend I'm gonna fork whatever I need to and get it setup just the way we need: https://workflowy.com/#/8730a190-1acf-771a-faa5-6a48e9f1b542 after this I'm just gonna work on the ui kit and porting it to various things.