FamousArchives / generator-famous

for those who hate doing things once
123 stars 26 forks source link

grunt build is broken #31

Closed speigg closed 10 years ago

speigg commented 10 years ago

From a fresh yo famous project, running grunt (after npm install and bower install) results in:

Running "requirejs:compile" (requirejs) task
Error: ENOENT, no such file or directory 'xxx/app/lib/famous/dist/famous/core/Engine.js'
In module tree:
    main

{ [Error: Error: ENOENT, no such file or directory 'xxx/app/lib/famous/dist/famous/core/Engine.js'
In module tree:
    main

    at Object.fs.openSync (fs.js:427:18)
]
  originalError: 
   { [Error: ENOENT, no such file or directory 'xxx/app/lib/famous/dist/famous/core/Engine.js']
     errno: 34,
     code: 'ENOENT',
     path: 'xxx/app/lib/famous/dist/famous/core/Engine.js',
     syscall: 'open',
     fileName: 'xxx/app/lib/famous/dist/famous/core/Engine.js',
     moduleTree: [ 'main' ] } }
speigg commented 10 years ago

Nevermind, looks like this is fixed.. I think I had to update my generator

MylesBorins commented 10 years ago

I just found another small bug in the generator… update coming in the next 15 minutes :D

On Jun 5, 2014, at 10:44 AM, speigg notifications@github.com wrote:

Nevermind, looks like this is fixed.. I think I had to update my generator

— Reply to this email directly or view it on GitHub.

MylesBorins commented 10 years ago

Also the error pointing towards dist is indeed happening… it is a bug in the grunt-bower dependency

Fixing now :D

On Jun 5, 2014, at 10:44 AM, Myles Borins myles@famo.us wrote:

I just found another small bug in the generator… update coming in the next 15 minutes :D

On Jun 5, 2014, at 10:44 AM, speigg notifications@github.com wrote:

Nevermind, looks like this is fixed.. I think I had to update my generator

— Reply to this email directly or view it on GitHub.

speigg commented 10 years ago

Oh, okay. I was confused, because I looked at the repo, and it seemed fixed there. I ended up fixing it myself in my local files. :)

MylesBorins commented 10 years ago

In famous 0.2.1 we introduced a dist folder. Grunt-bower-requirejs is defaulting to using this path now so I needed to add an ignore rule… update coming in less than 5 :D

On Jun 5, 2014, at 10:49 AM, speigg notifications@github.com wrote:

Oh, okay. I was confused, because I looked at the repo, and it seemed fixed. I ended up fixing it myself in my local files. :)

— Reply to this email directly or view it on GitHub.

MylesBorins commented 10 years ago

Try updating your generator now... I think I fixed all the problems :D

speigg commented 10 years ago

Seems to be working fine now, thanks :)