ts-retrofit icon indicating copy to clipboard operation
ts-retrofit copied to clipboard

[SyntaxError: 37:36:unrecognized character '@']

Open vijaemanlapaz opened this issue 4 years ago • 2 comments

I get [SyntaxError: 37:36:unrecognized character '@'] whenever i use @Path

code

vijaemanlapaz avatar Sep 07 '21 13:09 vijaemanlapaz

Having the same issue, not sure what loader is missing or if it can be overwritten with CRA?

mark-barrett avatar Jan 05 '22 13:01 mark-barrett

I get [SyntaxError: 37:36:unrecognized character '@'] whenever i use @Path

code

On further investigation, this seems to have fixed it:

https://github.com/org-redtea/react-inversify/issues/1#issuecomment-723492082

Firstly install customize-cra:

yarn add customize-cra react-app-rewired --dev

Then follow the first link.

mark-barrett avatar Jan 05 '22 14:01 mark-barrett