bigcommerce / stencil-cli

BigCommerce Stencil emulator for local theme development
https://developer.bigcommerce.com/stencil-docs
BSD 4-Clause "Original" or "Old" License
103 stars 140 forks source link

not ok -- StencilConfigReadError: Please run $ stencil init first. #1206

Closed ethansheffield closed 2 months ago

ethansheffield commented 2 months ago

This used to work flawlessly, then it would work sometimes and not others, now it doesn't work at all. I'm not sure what exactly is wrong here... any help is greatly appreciated.

Expected behavior

Run stencil push -a -d -c 1 Validating theme...

Actual behavior

Run stencil push -a -d -c 1 not ok -- StencilConfigReadError: Please run $ stencil init first. Please visit the troubleshooting page https://developer.bigcommerce.com/stencil-docs/deploying-a-theme/troubleshooting-theme-uploads. If this error persists, please visit https://github.com/bigcommerce/stencil-cli/issues and submit an issue. Error: Process completed with exit code 1.

Steps to reproduce behavior

merge and deploy using this deployment.yml

name: Deploy Theme to BigCommerce Store

on: push: branches: [main]

jobs: deploy: runs-on: ubuntu-latest steps:

Environment

Stencil-cli version stencil --version: 7.5.5

Node version node -v: v18.15.0

NPM version npm -v: 9.5.0

OS: Sonoma 14.2

jairo-bc commented 2 months ago

Hi @ethansheffield, you might be affected by https://github.com/bigcommerce/stencil-cli/issues/1189#issuecomment-2048326651

ethansheffield commented 2 months ago

@jairo-bc I wish you nothing less than 1,000 blessings my friend 🙌