Skip to content

Failures with imported modifiers and helpers repro#206

Closed
mfeckie wants to merge 7 commits intoember-cli:masterfrom
mfeckie:modifier-repro
Closed

Failures with imported modifiers and helpers repro#206
mfeckie wants to merge 7 commits intoember-cli:masterfrom
mfeckie:modifier-repro

Conversation

@mfeckie
Copy link
Copy Markdown

@mfeckie mfeckie commented Oct 19, 2023

I recently updated to V4 of ember-template-imports, but have found widespread breakages across our app as a result.

It seems like the template compilation process isn't dealing properly with imported functions and other components, but plain classes seem to be ok.

This PR just adds failing tests to demonstrate the problem, I'm unsure how to fix, but happy to give it some time.

Screenshot from our CI

Screenshot 2023-10-19 at 11 41 29 am

@mfeckie mfeckie changed the title Modifier repro Failures with imported modifiers and helpers repro Oct 19, 2023
@mfeckie
Copy link
Copy Markdown
Author

mfeckie commented Oct 19, 2023

Something weird is going on because it's failing when running locally, but not in CI 🤔 (for the repro)

Screenshot 2023-10-19 at 12 09 10 pm

@mfeckie
Copy link
Copy Markdown
Author

mfeckie commented Oct 19, 2023

Sorry, super weird, definitely failing locally

Screenshot 2023-10-19 at 12 15 05 pm

@HeroicEric
Copy link
Copy Markdown
Contributor

I'm seeing the same thing with "ember-cli-babel": "^8.2.0" and "ember-template-imports": "^4.0.0".

@NullVoxPopuli
Copy link
Copy Markdown
Collaborator

NullVoxPopuli commented Oct 19, 2023

I'll investigate momentarily! Apologies for confusion!

ember-cli-htmlbars 6.3 as well

@HeroicEric
Copy link
Copy Markdown
Contributor

I'm using ember-cli-htmlbars@6.3.0 as well

@NullVoxPopuli
Copy link
Copy Markdown
Collaborator

@HeroicEric are you also using embroider?

@HeroicEric
Copy link
Copy Markdown
Contributor

@NullVoxPopuli no

@NullVoxPopuli
Copy link
Copy Markdown
Collaborator

more minimal repro here: https://github.com/ember-template-imports/ember-template-imports/pull/211/files#diff-99353e7756ea20bb4fdcc1b1067c0f004b188d13df85162e6ef34b074dd97a2cR26

gonna close this.
issue: #207

thanks for the report!

NullVoxPopuli added a commit that referenced this pull request Oct 22, 2023
@mfeckie mfeckie deleted the modifier-repro branch October 22, 2023 01:36
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.

3 participants