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

(U+0307) is not a valid identifier start char #973

Closed
eraad opened this issue Dec 31, 2021 · 2 comments
Closed

(U+0307) is not a valid identifier start char #973

eraad opened this issue Dec 31, 2021 · 2 comments

Comments

@eraad
Copy link

eraad commented Dec 31, 2021

Hi,

I'm getting this error when compiling on version 2.16.10:

Failed to inspect file
  /Users/xxx/Workspace/xxx/projects/xxx/node_modules/lower-case/dist/index.js

it was required from
  /Users/xxx/Workspace/xxx/projects/xxx/node_modules/no-case/dist/index.js

Errors encountered while trying to parse file
  /Users/xxx/Workspace/xxx/projects/xxx/node_modules/lower-case/dist/index.js
  {:line 13, :column 13, :message "Character '?' (U+0307) is not a valid identifier start char"}

The error comes from @aws-amplify/ui-react package (v. 2.1.5), which depends on the lower-case package. I see this is an old issue and was wondering if you could suggest me a workaround.

Thanks!

@thheller
Copy link
Owner

thheller commented Jan 2, 2022

This is an error from the Closure Compiler unfortunately. Not much I can do from shadow-cljs, so there is no easy workarround.

One option is skipping the Closure Compiler entirely and using something like webpack instead. I described ways to do that in this blog post.

@eraad
Copy link
Author

eraad commented Jan 2, 2022

Hi, thank you. I got it working using webpack. Have a great day!

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