Open jrock2004 opened 4 years ago
Ran into the same issue. We are also on 3.12. We thought it might also be because we migrated to using JS native class syntax prematurely. Is there any workaround?
I have not found a solution. Waiting for next upgrade to see if it goes away
The issue is in https://github.com/ember-cli/ember-router-generator, it needs to be updated to understand how to parse decorators.
We are using something like:
var recast = require('recast');
var parser = require('recast/parsers/babel');
recast.parse(someFileContents, { parser });
And I think we need to set more options to enable decorator parsing there.
(transferred the issue to ember-cli/ember-router-generator)
I am trying to generate a route
ember g route location/account/add
and I am getting errors and only the template and template.js gets generated.Output from
ember version --verbose && npm --version && yarn --version
:Ember version is 3.12 as well