简体   繁体   中英

facing error while stencil bundle command

currently i update my node and npm version for stencil bigcommerce when i make bundle for my old project i'm facing this type of problem. can anyone solve my this issue?

Error: No input specified: provide a file name or a source string to process

---------WARNING--------- We are currently in the process of deprecating node-sass fork https://github.com/bigcommerce-labs/node-sass Your scss files were compiled using latest node-sass version https://github.com/sass/node-sass This error might indicate that your scss file is not compatible with it. There is still an option to compile scss file old fork by using --use-old-node-sass-fork. But note, that this will lead to 500 error in production in near future. ---------WARNING---------

The best solution would be to resolve the SCSS errors in your files that are causing a failure.

However, a quick solution may be to roll back your stencil version. Try npm install -g @bigcommerce/stencil-cli@3.12 and then try bundling your theme. Note: you will need to be on Node v12 for this.

I solved this error, their were no node or big commerce CLI version issue, I had to just upgrade my bootstrap version in Base.html file and the error was solved.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM