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

Unexpectedly found "! ~" when slicing source, but expected " " #447

Closed
charlesfries opened this issue Jan 19, 2022 · 2 comments
Closed

Unexpectedly found "! ~" when slicing source, but expected " " #447

charlesfries opened this issue Jan 19, 2022 · 2 comments
Labels

Comments

@charlesfries
Copy link
Contributor

Seeing the following build time warning in 0.12.0:

[Babel: ember-prism > applyPatches]unexpectedly found "! ~" when slicing source, but expected " "
unexpectedly found "! ~" when slicing source, but expected " "
unexpectedly found "! ~" when slicing source, but expected " "
unexpectedly found "! ~" when slicing source, but expected " "
"ember-cli": "~4.1.0",
"ember-prism": "^0.12.0",
"ember-source": "~3.28.8",

Seems to be caused by these template comments:

@RobbieTheWagner
Copy link
Member

@charlesfries thanks for reporting! We were using that to remove whitespace before. I wonder why it all the sudden stopped working?

@charlesfries
Copy link
Contributor Author

charlesfries commented Mar 3, 2022

Seems to be related to [email protected] emberjs/ember.js#19392

Downgrading ember-cli-htmlbars to 6.0.0 fixes the issue on my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants