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

Failed to generate file from template with "}}}" #39

Closed
iyegoroff opened this issue Nov 19, 2017 · 2 comments
Closed

Failed to generate file from template with "}}}" #39

iyegoroff opened this issue Nov 19, 2017 · 2 comments

Comments

@iyegoroff
Copy link

I've got "Parse error on line 1:" and no files were generated for template:
import {Base{{pascalCase name}}} from 'test';

@reesemclean
Copy link
Owner

Sorry about that. Can you try with a space between { and Base, and a space before the final }?

@iyegoroff
Copy link
Author

Actually this is a handlebars issue - http://handlebarsjs.com/expressions.html#whitespace-control. Fixed it the following way:
import {Base{{~pascalCase name~}}} from 'test';

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

No branches or pull requests

2 participants