Roots Discourse

Yarn build: production assets error on windows

Hello i’m starting with sage, i have

  • windows 10

  • npm 6.14.11

  • node 14.6

I need to recompile a theme (builded by a company ) but when I run yarn build: production
I get an error
“webpack --env.production --progress --config resources / assets / build / webpack.config.js 95% emittingError: EINVAL: invalid argument, mkdir 'C: \ xampp \ htdocs \ sage \ wp-content \ themes \ test-portal \ dist \ C: \ xampp \ htdocs \ sage \ wp-content \ themes \ test-portal \ resources \ assets \ fonts \ roboto '” something happens with the compilation of assets or webpack.config.js configuration, but i don´t know what
any ideas?
Thanks a lot

[image]

Are you using native node.exe or WSL 1/2 on Windows?

https://roots.io/docs/getting-started/windows/#working-with-trellis