-
Notifications
You must be signed in to change notification settings - Fork 43
thorax-seed not working out of the box- no views rendered and error in Chrome console #19
Comments
I'm also working along from the seed. At the point at which "hello world" should be visible (2m55s into the video tutorial), nothing renders and the following errors are in the console: GET http://localhost:8000/modules/thorax.js.map 404 (Not Found) Uncaught TypeError: Cannot read property 'modules' of undefined |
This fixes the modules issue #17, the js.map not found is a noisy warning, it's not causing a problem. |
I am having this same problem. How do I fix this? |
Issue #17 did not fix this issue for me. I am having the same problem. I have tried it with Ubuntu, Windows 7 and Windows 8. Is there some other work around? |
@ChadMartinson one option, until this is fixed or a new video is published, is to use https://github.com/walmartlabs/generator-thorax -- when running the generator don't choose the 'chef's choice' (first option) -- this will move you through the extended options for generating a new thorax app where you'll find the option to generate a 'todo list' app towards the end of the prompts -- upon generating the 'todo list' app you'll have the same app as is provided in the video tutorial, but using require js instead of lumbar feel free to file an issue with https://github.com/walmartlabs/generator-thorax if you find issues or have confusion if you decide to head down this road.. also, thankyou for the reminder, an updated video tutorial looks to be a priority /cc @eastridge |
Hey thanks Erik. I did end up following your suggestion. It took some doing I am new to web development and JavaScript. So on a personal level this was The instructions weren't clear in places and incomplete. I would like to be I do love thorax though and look forward to building some fun things. @ChadMartinson https://github.com/ChadMartinson one option, until this is feel free to file an issue with /cc @eastridge https://github.com/eastridge — |
@Trombom Let's enable the hello world as the default for chef's choice if it isn't already |
What is the preferred way to get started these days? I would like to start developing against the latest version. I see the The generator appears to have some nice benefits such as using Karma Sauce Launcher, some pre-built grunt tasks for production builds, testing, etc. |
Personally, I would use the generator. It works out of the box. I have Use the sub-generators for your router, models, collections, and views.
|
When following the getting started with thorax-seed instructions (here: https://github.com/jeffHoltStevenson/thorax-seed) I'm unable to get anything to render.
Steps to reproduce:
$ git clone git://github.com/walmartlabs/thorax-seed.git thorax && cd thorax
$ npm install
$ npm start
$ grunt generate:view:todos/index
Add "": "index" to routes in lumbar.json as per instructions.
Add index with Application.setView() to todos.js as per instructions.
Put something in templates/todos/index.handlebars and check the browser to see if there is any output.
For me, there isn't.
If I follow the instructions in the screencast I get the same result (which is of course because the instructions are the same).
Also, I notice that setting the application title in lumbar.json doesn't change it in public/index.html.
When I check the console in Chrome I notice the following error:
Uncaught TypeError: Cannot read property 'modules' of undefined base.js:20648
GET http://localhost:8000/modules/thorax.js.map 404 (Not Found) :8000/modules/thorax.js.map:1
It seems something is up! This is my first time using Thorax so I'm not really sure where to start debugging it myself.
I'm running on Ubuntu 12.10 with node.js vesrion 0.10.13.
The text was updated successfully, but these errors were encountered: