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

ENOENT, no such file or directory 'undefined/ #47

Closed
t4t5 opened this issue Jun 20, 2015 · 4 comments
Closed

ENOENT, no such file or directory 'undefined/ #47

t4t5 opened this issue Jun 20, 2015 · 4 comments

Comments

@t4t5
Copy link

t4t5 commented Jun 20, 2015

When running ember watson:convert-ember-data-model-lookups, I get this:

ENOENT, no such file or directory 'undefined/'
Error: ENOENT, no such file or directory 'undefined/'
    at Error (native)
    at Object.fs.readdirSync (fs.js:761:18)
    at walkSync (/Users/Tristan/dev/Ludu/node_modules/ember-watson/node_modules/walk-sync/index.js:14:20)
    at module.exports (/Users/Tristan/dev/Ludu/node_modules/ember-watson/lib/helpers/find-files.js:10:13)
    at EmberWatson.transformEmberDataModelLookups (/Users/Tristan/dev/Ludu/node_modules/ember-watson/lib/watson.js:27:15)
    at Class.module.exports.run (/Users/Tristan/dev/Ludu/node_modules/ember-watson/addon/commands/convert-ember-data-model-lookups.js:16:12)
    at Class.<anonymous> (/Users/Tristan/dev/Ludu/node_modules/ember-cli/lib/models/command.js:136:17)
    at lib$rsvp$$internal$$tryCatch (/Users/Tristan/dev/Ludu/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:489:16)
    at lib$rsvp$$internal$$invokeCallback (/Users/Tristan/dev/Ludu/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:501:17)
    at lib$rsvp$$internal$$publish (/Users/Tristan/dev/Ludu/node_modules/ember-cli/node_modules/rsvp/dist/rsvp.js:472:11)

Could it have anything to do with the fact that I'm using a POD structure?

@abuiles
Copy link
Owner

abuiles commented Jun 20, 2015

@t4t5 which version are you running? Can you try with 0.5.3

@t4t5
Copy link
Author

t4t5 commented Jun 20, 2015

I'm using 0.5.3, together with Ember 2.0.0-beta.1 and Ember Data 1.13.0.

@jcope2013
Copy link
Contributor

same on 0.5.4 and not using pod structure

@abuiles
Copy link
Owner

abuiles commented Jun 24, 2015

Just published [email protected] which includes a fix to this issue, thanks to @marcioj for fixing it.

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

3 participants