Error Running generate_client_assets #172
Unanswered
tylerasselin
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi there, Thanks for filing this. If you have a repro project, it'll be much easier to debug. However, looking at the error, it seems to be something related to your project urls. Line 56 of the transpired Can you try removing all your project urls? Or try the URL setup in the example project? Alternatively, you can paste the output of |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello I'm trying to use reactivated in my existing project without nix. The project was bootstrapped from cookiecutter-django and I have been doing a lot of development with everything using Docker Compose and I would like to maintain that.
I have followed all of the steps which are laid out in the Existing Projects section of the docs. I changed the base image in my Dockerfile from
3.9-slim-bullseye
tonikolaik/python-nodejs:python3.9-nodejs16-slim
to make it easy to have node and python side-by-side.When I bring everything up I get the following error after starting the Django dev server:
I have determined that is because I don't have the
/nodemodules/_reactivated/
directory and after doing some digging in this repository I found that directory is generated via thegenerate_client_assets
management command. Unfortunately, that management command is failing with the following:I think that I'm probably missing some configuration, but I'm not super experienced with front-end development and its been a few years since I've worked with react at all. So, I'm having trouble troubleshooting this one.
I'm using the current reactivated main branch to try to take advantage of the most recent changes that aren't on pypi yet.
Versions within my Django container:
Dockerfile
I'm happy to add more information and appreciate any help that can be provided.
Beta Was this translation helpful? Give feedback.
All reactions