Closed matthewvolk closed 1 year ago
Hi @matthewvolk, looking at the stack trace, I assume your theme is running on webpack 4, which is not supporting Node 18. You would need to update webpack from 4 to 5 and related to it packages to get your theme running on Node 18. I would recommend going through Cornerstone PR to see which packages were update there.
Thanks @jairo-bc! I talked to the community member and they mentioned your suggestion of walking through the changes in the Cornerstone PR helped to resolve their issue.
Expected behavior
Documentation (https://developer.bigcommerce.com/stencil-docs/installing-stencil-cli/installing-stencil) states Stencil CLI is compatible with Node
v18.15.0
.Actual behavior
Running
stencil bundle
on Windows with Git Bash results in the following:Workarounds
Downgrade to Node
v16.x.x
Steps to reproduce behavior
Run
stencil bundle
on Windows with Git Bash using Node 18.15.0Environment
Stencil-cli version
stencil --version
: Unsure - problem reported in BigCommerce Discord, waiting on community member to get back to me with stencil version.Node version
node -v
:18.15.0
NPM version
npm -v
:9.5.0
OS: Windows (Git Bash)