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
state build script fails on Windows #1
Comments
Merci beaucoup - was not expecting an issue to be reported that soon ! The copy to public script might go away altogether. |
I am just eager to try it out. I manged to add it to a project with .yalc (I had to change but I get an error in the browser:
I tried it in a vite lit-ts default template project. (just added a store and a StateController as described in your example element) Also, when I import property from "@lit-app/state" I cannot use property from "lit/decorators.js" anymore.... (Duplicate identifier 'property') Edit: I guess I just have to move the state class in a new file to avoid the duplicate identifier... all the best |
It is soon, but it should work nevertheless.
Just pushed a new commit to get rid of this situation.
Indeed, state declaration should be in different files ideally. Even if they are not, you can always rename your imports: import {property as litprop} from 'lit/decorators.js' |
Closed by public release of this package ( @MichaPau - tell me if it is not working for you. |
This is due the UNIX bash style copy-to-public script.
Workaround:
e.g.
This works with my npm and default-shell settings.
The text was updated successfully, but these errors were encountered: