inventures / hatchjs

Hatch.js - not officially supported
Other
72 stars 32 forks source link

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

Open chandanpasunoori opened 9 years ago

chandanpasunoori commented 9 years ago
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 commented 9 years ago
$ 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 commented 9 years ago

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 commented 9 years ago

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

chandanpasunoori commented 9 years ago

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

Valentyn-Kubrak commented 9 years ago

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

chandanpasunoori commented 9 years ago

@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 commented 9 years ago

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

Vannsl commented 9 years ago

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.