stencil-cli | BigCommerce Stencil emulator for local theme development | Runtime Evironment library
kandi X-RAY | stencil-cli Summary
kandi X-RAY | stencil-cli Summary
The BigCommerce server emulator for local theme development.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get the templates paths
- Ask user for a release
- Resolve partials
- Extracts a zip file from a zip file .
- Creates a new theme upload .
- Get the rendered regions by entity type .
- Build the plugin from the path .
- Runs commander .
- Get rendered regions by a specific page
- Get a job
stencil-cli Key Features
stencil-cli Examples and Code Snippets
Community Discussions
Trending Discussions on stencil-cli
QUESTION
Needing to run a BigCommerce site locally and not sure why it's not running. It's running an older version of Cornerstone (V4.4.0) so not sure how to fix:
Node Version: V12.22.7
NPM: 6.14.15
Stencil version - 3.7.0
Error:
Error: Cannot find module 'webpack'
Require stack:
/path-to-directory/stencil.conf.js
/.nvm/versions/node/v12.22.7/lib/node_modules/@bigcommerce/stencil-cli/lib/BuildConfigManager.js
/.nvm/versions/node/v12.22.7/lib/node_modules/@bigcommerce/stencil-cli/lib/stencil-start/js
/.nvm/versions/node/v12.22.7/lib/node_modules/@bigcommerce/stencil-cli/bin/stencil-start.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helps.js:74:18)
at Object. (path-to-directory/stencil.conf.js:1:15)
As well as this:
npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t git://github.com/bigcommerce-labs/node-sass.git
npm ERR!
npm ERR! fatal: remote error:
npm ERR! The unauthenticated git protocol on port 9418 is no longer supported.
npm ERR! Please see
https://github.blog/2021-09-01-improving-git-protocol-security-github/
for more information.
npm ERR!
npm ERR! exited with error code: 128
I have tried moving back Node version but error persists. Checked API key incase it needed to be updated and not the issue.
...ANSWER
Answered 2022-Apr-05 at 12:09Check if you have any dependency in your package.json pointing to git://github.com url. Those are now deprecated, you must use https, e.g.
git+https://github.com/bigcommerce-labs/node-sass.git
.
QUESTION
I am trying to edit a BigCommerce theme using stencilLint. When I type the command:
...ANSWER
Answered 2020-Dec-22 at 07:31According to the documentation available here bigcommerce/stencil-cli. Stencil-cli only supports node version 10.x or 12.x. so if you have any other node version switch to either 10 or 12.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install stencil-cli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page