lvbreda / Meteor_angularjs

279 stars 42 forks source link

Meteor 0.6.5 support #46

Open aknuds1 opened 11 years ago

aknuds1 commented 11 years ago

Meteor_angularjs currently breaks for me under Meteor 0.6.5.1 with the following error:

Error: ENOENT, no such file or directory '/home/arve/Projects/angular-meteor-example/.meteor/local/build/programs/server/.meteor/local/build/app.html'
    at Object.fs.openSync (fs.js:338:18)
    at Object.fs.readFileSync (fs.js:182:15)
    at Package (packages/angularjs/server.js:19)

I would try to fix it, but I know too little about Meteor to understand what to do.

danmillar commented 11 years ago

I'm getting the same problem :|

lvbreda commented 11 years ago

Hi both,

Sorry for late response, I will push the fix today. It is because meteor now 'bundles' the applications in a different folder structure.

L

danmillar commented 11 years ago

Hi,

That would be great. I did manage to get the server.js working by adjusting the paths (although I've only done the local ones for the moment). I also had to add a further string replacement within the runtime config if block as follows:

code = code.replace(/##ROOT_URL_PATH_PREFIX##/ig, __meteor_runtime_config__.ROOT_URL_PATH_PREFIX);

Cheers.

zakdances commented 11 years ago

Was the fix for this pushed?

geekyme commented 11 years ago

just a bump on this. getting the same problem.