-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Docker - @symfony/ux-swup/package.json not found #37
Comments
Hi Adrien! I just encountered this issue and it was due to invalid Yarn cache in my home directory. Perhaps is it linked here too? |
Hello @adrienlamotte, @tgalopin 👋 I found myself faced with the same problem, the "node build stage" of the assets requires having the vendor directory present due to the definition of the ux-chartjs in the package.json file
For this, I added a "composer" build step that I then copy into my node and php stage as follows:
I think there is better to do, that's why I share my solution with you. |
|
I have a docker for my Symfony 5 project, but I can't make it work with @symfony/ux-swup. When I try to build with
npm run build
, I have the error bellow in Docker :Here is my docker file relevant parts :
I have noticed that in the package.js, ux-swup il referenced by :
Not sure if this might cause the problem...
Any clues?
Thanks!
The text was updated successfully, but these errors were encountered: