Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Unable to compile frontend assets with npm #10

Open
straho99 opened this issue May 8, 2022 · 1 comment
Open

Unable to compile frontend assets with npm #10

straho99 opened this issue May 8, 2022 · 1 comment

Comments

@straho99
Copy link

straho99 commented May 8, 2022

Running webpack ...

ERROR Failed to compile with 2 errors 2:05:31 PM

Module build failed: Module not found:
"./assets/bootstrap.js" contains a reference to the file "@symfony/ux-live-component".
This file can not be found, please check it for typos or update it if the file got moved.

"./assets/bootstrap.js" contains a reference to the file "@symfony/ux-live-component/styles/live.css".
This file can not be found, please check it for typos or update it if the file got moved.

@Amoifr
Copy link

Amoifr commented Jun 22, 2022

@straho99 do you perform a npm install before a npm run build ?
If it's an issue about version I can provide you a docker environnement where it works perfectly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants