sir-dunxalot / ember-cli-modernizr

Parses your Ember CLI app for Modernizr references and creates the smallest possible Modernizr build
MIT License
11 stars 1 forks source link

Fails to build in app #3

Open BryanCrotaz opened 8 years ago

BryanCrotaz commented 8 years ago
C:\projects\webcam>ember serve
version: 1.13.15
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
EISDIR, illegal operation on a directory
Error: EISDIR, illegal operation on a directory
    at Error (native)
    at Object.fs.readSync (fs.js:554:19)
    at Object.fs.readFileSync (fs.js:391:28)
    at ModernizrFilter.<anonymous> (C:\projects\webcam\node_modules\ember-cli-modernizr\lib\filter-files.js:170:20)
    at Array.forEach (native)
    at ModernizrFilter.updateCache (C:\projects\webcam\node_modules\ember-cli-modernizr\lib\filter-files.js:158:13)
    at C:\projects\webcam\node_modules\ember-cli-modernizr\node_modules\broccoli-caching-writer\index.js:95:21
    at lib$rsvp$$internal$$tryCatch (C:\projects\webcam\node_modules\ember-cli-modernizr\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:103
6:16)
    at lib$rsvp$$internal$$invokeCallback (C:\projects\webcam\node_modules\ember-cli-modernizr\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.
js:1048:17)
    at lib$rsvp$$internal$$publish (C:\projects\webcam\node_modules\ember-cli-modernizr\node_modules\broccoli-caching-writer\node_modules\rsvp\dist\rsvp.js:1019
:11)
BryanCrotaz commented 8 years ago

100% reproducible on a new Ember app

sir-dunxalot commented 8 years ago

Thanks for opening the issue. I will dig into it. It seems like there are a bunch of compatibility issues with 1.13+.