stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

Stencil Release gives "Error: Cannot Read Property 'yellow' of null"

Open JeffreyModelNo opened this issue 3 years ago • 3 comments

Expected behavior

For Stencil Release to generate a new release.

Actual behavior

Running Stencil Release gives "Error: Cannot Read Property 'yellow' of null" message and fails to make release

Steps to reproduce behavior

Using latest Stencil 3.2.0 on Node12.19.0 and NPM 6.14.11 and started getting this error on my laptop whenever I tried to run stencil release, and on my desktop at first it would run stencil release BUT try to generate old release numbers, and now since syncing both systems via Git was getting the same error on my desktop.

What's odd is that stencil start, stencil bundle, etc. all work just fine on this system. stencil bundle just creates a file called theme_name-custom.zip instead of theme_name-release_number.zip but it does work. It's just that stencil release fails with this error.

Tried re-installing everything on the desktop (NVM, NPM, Stencil, re-cloning from Git to a clean folder, etc.) and now only get errors that WebPack is missing and Stencil refuses to run at all on my desktop. Confirmed my config.stencil.json is pointing to the correct URL for my store.

JeffreyModelNo avatar Apr 01 '21 17:04 JeffreyModelNo

Hi @JeffreyModelNo,

Is it an open issue for you?

If so, could you please provide more information on

  1. Are you on the custom theme?
  2. How old is your theme?

jairo-bc avatar Jul 01 '21 14:07 jairo-bc

Hey there!

  1. We've just customized Cornerstone, we haven't built a custom theme from scratch.
  2. We thought it was due to being on a 'old' Cornerstone base, but we just re-ported everything to 5.4.0, and the problem just literally came back today.

Looking for whatever help we can get on this!

JeffreyModelNo avatar Jul 06 '21 21:07 JeffreyModelNo

@JeffreyModelNo Can you please share store url and theme name on email ([email protected])? I will take a look and provide a feedback for you

jairo-bc avatar Jul 07 '21 08:07 jairo-bc