Closed kashiif closed 7 years ago
I was trying to use the addon in an app with ember-cli v 2.4.x and node 0.12.x. There were a couple of simple issues:
1) NodeJS does not support short function declaration (functionName()). This means ember fails to execute index.js on addon install.
index.js
2) For ember-cli >= 2.6.0-beta.3, app.options.configPath returns absolute path while older ember-cli versions return path relative to project root.
app.options.configPath
I was trying to use the addon in an app with ember-cli v 2.4.x and node 0.12.x. There were a couple of simple issues:
1) NodeJS does not support short function declaration (functionName()). This means ember fails to execute
index.js
on addon install.2) For ember-cli >= 2.6.0-beta.3,
app.options.configPath
returns absolute path while older ember-cli versions return path relative to project root.