🐛 bug report
I'm trying to publish a Storybook/HTML component library that uses Parcel to bundle CSS/JS/image assets.
Github Pages build fails - see error:
https://github.com/theThought/Transform-v2/actions/runs/13072020838/job/36475528341#step:4:56
Error screenshot:

Local build is OK.
🎛 Configuration (.babelrc, package.json, cli command)
"build": "npm install && npm run build:parcel",
"build:parcel": "parcel build index.html --dist-dir public/build",
"build-storybook": "storybook build",
"publish-storybook": "npm run build && npm run build-storybook",
🤔 Expected Behavior
Parcel SVGO optimiser should be automatically installed as a dependency.
😯 Current Behavior
SVGO not installed in Github Pages Build process, but it does install if I run the npm run publish-storybook command locally.
I also tried explicitly installing SVGO as a DevDependency, but got the same error.
🔦 Context
I'm unable to publish Storybook because of this issue.
💻 Code Sample
See links provided above.
🌍 Your Environment
| Software |
Version(s) |
| Parcel |
2.13.2 |
| Node |
20.11.0 |
| npm/Yarn |
npm 10.2.4 |
| Operating System |
Windows (local) |
🐛 bug report
I'm trying to publish a Storybook/HTML component library that uses Parcel to bundle CSS/JS/image assets.
Github Pages build fails - see error:
https://github.com/theThought/Transform-v2/actions/runs/13072020838/job/36475528341#step:4:56
Error screenshot:

Local build is OK.
🎛 Configuration (.babelrc, package.json, cli command)
babelrc.npm run publish-storybookwhich does a Parcel build = https://github.com/theThought/Transform-v2/blob/master/UI/package.json🤔 Expected Behavior
Parcel SVGO optimiser should be automatically installed as a dependency.
😯 Current Behavior
SVGO not installed in Github Pages Build process, but it does install if I run the
npm run publish-storybookcommand locally.I also tried explicitly installing SVGO as a DevDependency, but got the same error.
🔦 Context
I'm unable to publish Storybook because of this issue.
💻 Code Sample
See links provided above.
🌍 Your Environment