Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uncaughtException: Cannot read property 'contents' of undefined at Object.Parser.parse #13

Open
chandanpasunoori opened this issue Dec 8, 2014 · 8 comments

Comments

@chandanpasunoori
Copy link

GET /do/stylesheet/css/0 controller: stylesheet action: css
Params: {"version":"0"}
>>> perform css
MULTI
  GET dev/User:1
  EVALSHA [Lua: ZRANGE+MGET] 0 z:dev/Page:url:localhost:3000 0 0 dev/Page
EXEC [41 ms]
EVALSHA [Lua: ZRANGE+MGET] 0 z:dev/Stylesheet:groupId:1 0 0 dev/Stylesheet [0 ms]
Stylesheet: not found. Setting default theme
uncaughtException
uncaughtException: Cannot read property 'contents' of undefined
  at Object.Parser.parse (/home/user/Workspace/NodeProjects/Hatch/node_modules/less/lib/less/parser/parser.js:108:20)
  at /home/user/Workspace/NodeProjects/Hatch/app/models/Stylesheet.js:118:20
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/async/lib/async.js:119:25
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/async/lib/async.js:24:16
  at /home/user/Workspace/NodeProjects/Hatch/app/models/Stylesheet.js:104:21
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:81:16
  at Object.oncomplete (fs.js:107:15)

Notify error
uncaughtException: Cannot read property 'contents' of undefined
  at Object.Parser.parse (/home/user/Workspace/NodeProjects/Hatch/node_modules/less/lib/less/parser/parser.js:108:20)
  at /home/user/Workspace/NodeProjects/Hatch/app/models/Stylesheet.js:118:20
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/async/lib/async.js:119:25
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/async/lib/async.js:24:16
  at /home/user/Workspace/NodeProjects/Hatch/app/models/Stylesheet.js:104:21
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:71:17
  at /home/user/Workspace/NodeProjects/Hatch/node_modules/file-finder/file-finder.js:81:16
  at Object.oncomplete (fs.js:107:15)

user@system:~/Workspace/NodeProjects/Hatch$ 

@chandanpasunoori
Copy link
Author

$ node server.js 
express deprecated app.configure: Check app.get('env') in an if statement config/environment.js:13:9
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead config/environment.js:50:25
connect deprecated limit: Restrict request size at location of read node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
connect deprecated methodOverride: use method-override npm module instead config/environment.js:59:25
express deprecated app.configure: Check app.get('env') in an if statement config/environments/development.js:6:9
express deprecated app.configure: Check app.get('env') in an if statement hatch_modules/admin/config/environment.js:7:13
express deprecated app.del: Use app.delete instead node_modules/compound/node_modules/railway-routes/lib/railway_routes.js:199:26
express deprecated app.configure: Check app.get('env') in an if statement hatch_modules/user/config/environment.js:6:9
express deprecated app.configure: Check app.get('env') in an if statement hatch_modules/user/config/environments/development.js:6:9

connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead config/environment.js:50:25

@NoodleSploder
Copy link

Is it "Stylesheet Not Found." or is it the parser? The message is cryptic. I want to evaluate this CMS, but I dont have the time to debug issues like this. I would think everything should work on a fresh install. Is there a quick resolution for this?

@chandanpasunoori
Copy link
Author

I have just freshly installed it.. then I got above error

@chandanpasunoori
Copy link
Author

sorry to say but I moved with keystonejs for present project.. for next project I will defenatly try hatch

@Valentyn-Kubrak
Copy link

the same error. pain pain and again pain. Just want to use something for my social network

@chandanpasunoori
Copy link
Author

@jaredn79 I have installed hatch in 3 different systems Ubuntu(local, remote azure), windows..

but got almost same output in 3 system.. so I moved on..

@Valentyn-Kubrak
Copy link

Why I need to pay 1000$ for licence, if I can't even install this cms.

@Vannsl
Copy link

Vannsl commented Apr 13, 2015

Got the same problem as i tried to start my application. I really wanted to try out hatch.js (my last project was with keystone.js) but I can't continue to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants