-
Notifications
You must be signed in to change notification settings - Fork 13
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
shadow-cljs failing to run watch-with-amplify #8
Comments
I get that too, tried in both Node 17 and 16. I'll look into it, thank you for reporting! |
I think I have solved it 😄 This one took a while to find out! I suspected it might have to do with the By doing that, the actual error appeared in the terminal. It is an auto-generated AWS Amplify that is missing. It is the The auto generated file begins with something like: /* eslint-disable */
// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.
const awsmobile = {
"aws_project_region": "eu-west-1",
....... and will be generated when doing the AWS Amplify setup. I have to find a way to make this clearer, perhaps there is a better way to require this one. Do you have any ideas? @rberger |
So yeah, I should have thought about this. If I even just copy my The Silly mistake, though I am still having the problem on my own new amplify project (trying to get a project with the new Amplify Studio to work with Clojurescript) which is based on the same concepts as your repo. But I must have some other bug that is causing the failure. I'll have to see what's different. The
If I try to resolve it as per a bug I had reported to was-amplify and didn't remember, I end up with another failure which just seems to show I must be doing something really wrong, but I have no idea what it is yet!
|
The problems I'm having in my derivative work look to be my own problems. I also realized I was trying to "import" jsx files not js files. |
If I clone master of this repo and do
The shadow-cljs run gets a warning and doesn't build the js modules for the app-with-amplify
The build output:
Any idea what's up? I presume this did work. The only things I could think is different is I'm running node v17.2.0. Otherwise everything else is set by the package.json and the shadow-cljs.edn which are unchanged from the repo.
The text was updated successfully, but these errors were encountered: