Describe the bug
Script build:dist fails with error on clean clone (without any modifications) during css parsing. Error was not catched, can't be easily diagnosed by through terminal output.
Screenshots
Yarn (yarn && yarn build:dist) on a clean clone
Desktop (please complete the following information):
OS: macOS Big Sur 11.1
Node.js 7.4.0
NPM version 7.4.0
Yarn version 1.22.10
Additional info
After trying with npm only (without the use of yarn), I was able to see that the path to terser plugin is missing. I also tried installing terser manually to no avail. Below is a screenshot that should give pointers:
Thanks for the detailed info! I'm almost certain this is due to the older Node version you are currently using. If possible, upgrade to a version above Node v10 which should solve the issues you mentioned.
UPDATE TO COME, SKIP NPM PART FOR NOW
Describe the bug Script
build:dist
fails with error on clean clone (without any modifications) during css parsing. Error was not catched, can't be easily diagnosed by through terminal output.To Reproduce Steps to reproduce the behavior:
yarn && yarn build:dist
Expected behavior Should build without errors.
Screenshots Yarn (
yarn && yarn build:dist
) on a clean cloneDesktop (please complete the following information):
Yarn version 1.22.10
Additional info After trying with npm only (without the use of yarn), I was able to see that the path to
terser
plugin is missing. I also tried installingterser
manually to no avail. Below is a screenshot that should give pointers: