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

Template editorconfig vs E #1

Open
plindman opened this issue Apr 26, 2014 · 2 comments
Open

Template editorconfig vs E #1

plindman opened this issue Apr 26, 2014 · 2 comments

Comments

@plindman
Copy link

When generating, the generator looks for file editorConfig but the file in templates folder is editorconfig. Probably very easy to fix.

Error: ENOENT, no such file or directory '~local/lib/node_modules/generator-kendo-ui/app/templates/editorConfig'

~/dev/kendoui-test $ ls ~/local/lib/node_modules/generator-kendo-ui/app/templates/
app.build.js bowerrc gitattributes Gruntfile.js jshintrc spa
_bower.json editorconfig gitignore index.html _package.json

@lamuertepeluda
Copy link

Same error here (MacBook Pro, OSX Mavericks, Node v0.10.28, yo v1.1.2)

fs.js:427
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/generator-kendo-ui/app/templates/editorConfig'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at KendoUIGenerator.prepCopy (/usr/local/lib/node_modules/generator-kendo-ui/node_modules/yeoman-generator/lib/actions/actions.js:54:13)
    at KendoUIGenerator.copy (/usr/local/lib/node_modules/generator-kendo-ui/node_modules/yeoman-generator/lib/actions/actions.js:82:23)
    at KendoUIGenerator.editorConfig (/usr/local/lib/node_modules/generator-kendo-ui/app/index.js:86:8)
    at /usr/local/lib/node_modules/generator-kendo-ui/node_modules/yeoman-generator/lib/base.js:316:43
    at /usr/local/lib/node_modules/generator-kendo-ui/node_modules/yeoman-generator/node_modules/async/lib/async.js:551:21
    at /usr/local/lib/node_modules/generator-kendo-ui/node_modules/yeoman-generator/node_modules/async/lib/async.js:227:13
    at iterate (/usr/local/lib/node_modules/generator-kendo-ui/node_modules/yeoman-generator/node_modules/async/lib/async.js:134:13)
    at /usr/local/lib/node_modules/generator-kendo-ui/node_modules/yeoman-generator/node_modules/async/lib/async.js:145:25

@lamuertepeluda
Copy link

ok just rename app/templates/editorconfig to app/templates/editorConfig and it works!

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

2 participants