Skip to content

Conversation

@backspace
Copy link

I’m running codemods on an old application and encountered a broken link when there were transformation errors:

 ERR app/controllers/rides.js Transformation error (Validation errors for class 'RidesController': 		[actions]: Transform not supported - [submit]: action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/scalvert/ember-native-class-codemod/issues/34 for more details)
ValidationError: Validation errors for class 'RidesController':
		[actions]: Transform not supported - [submit]: action name matches one of the lifecycle hooks. Rename and try again. See https://github.com/scalvert/ember-native-class-codemod/issues/34 for more details
    at maybeTransformEmberObjects (/Users/b/.npm/_npx/4e4aff0f1510c9e0/node_modules/ember-native-class-codemod/transforms/helpers/transform.js:16:19)
    at transformer (/Users/b/.npm/_npx/4e4aff0f1510c9e0/node_modules/ember-native-class-codemod/transforms/ember-object/index.js:41:39)

I did a find/replace on all references to the old repository slug, since they all have the same problem.

Thanks for the ongoing maintenance of this, I’m glad it’s still around 🎉

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

Successfully merging this pull request may close these issues.

1 participant