Building vendure with custom admin ui plugin stopped working. #2846
-
With my project, which contains some custom plugins and admin-ui extensions, I recently started getting this error:
I tried adding an empty
I'm unsure why this started failing all of a sudden; has anyone else had this problem? Also, I'm using NPM - so why is yarn involved? Is that used underneath somewhere in the process of building the admin ui? I have tried moving to a new project, and moving all my plugins there - and I still get the same issue. I'm using Vendure 2.2.2. And currently building it on Mac. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Another attempt, with a fresh install of vendure, I managed to get this working again. The only difference is I added each plugin one-by-one, and ensuring the app starts up between. Seems that made the trick - still unsure why it started failing before. |
Beta Was this translation helpful? Give feedback.
-
I got this again now; seems it might be related to node version. When I set node to use v 20 instead of 21 it stopped complaining.
|
Beta Was this translation helpful? Give feedback.
I got this again now; seems it might be related to node version. When I set node to use v 20 instead of 21 it stopped complaining.
nvm use 20