Open stanfabrics opened 2 years ago
@stanfabrics That error comes from node-sass not able to compile your version of scss code. Unfortunately, it didn't give you the filename (just the stdin), but I think you can try to search in theme folder by css selector name (from the error message)
Expected behavior Theme files should bundle correctly so I can upload a zip file to Bigcommerce.
Actual behavior Theme not bundling - throwing errors I have never encountered. I am not entirely knowledged in Stencil CLI but I have never had any issues prior. Also after running 'stencil start', lots more text than usual regarding errors and warnings. All seem to regard my style sheet maybe? The content on my localhost is correct but not styled the way it is supposed to be.
Attaching images for what I am receiving. After running 'stencil start': right after entering, received 'No api host found in config file, falling back to https://api.bigcommerce.com. You may need to run 'stencil init' again.' though I did not run 'stencil init' again.
After running 'stencil bundle':
Steps to reproduce behavior I followed the rules for installing the Stencil CLI from Bigcommerce's page. Stencil init worked fine. One I enter 'stencil start', my localhost environment runs. I receive errors and warnings there as it continues to run. Localhost site has the correct content but not the styled correctly. I try to run 'stencil bundle' - originally received ': command not found: stencil' even though I installed Stencil MULTIPLE times. Finally got past that but now receiving lots of errors and warnings after entering 'stencil bundle'. I was originally having issues with pushing files to bitbucket and resolved that. Afterwards, I started having issues getting stencil to work correctly although it was working fine earlier in the day.
Environment
Stencil-cli version
stencil --version
: 5.3.3Node version
node -v
: 14.20.0NPM version
npm -v
: 6.14.17OS: Mac OS Big Sur Version 11.7 (20G817)