I faced the following error when trying to run npm run build.
vite v5.4.1 building for production...
✓ 2 modules transformed.
x Build failed in 18ms
error during build:
[vite:css] Preprocessor dependency "sass-embedded" not found. Did you install it? Try `npm install -D sass-embedded`.
It was solved by installing sass-embedded but maybe it should be added as part of the package installation process.
I faced the following error when trying to run
npm run build.It was solved by installing sass-embedded but maybe it should be added as part of the package installation process.