NodeJS version
SXA CLI (specifically, Gulp 3.9.1) does not play well with Node version > 11 (the latest is 13) and will fail with "ReferenceError: primordials is not defined" error. One way of fixing it is using Node Version Switcher, but there is also a little trick I found on StackOverflow. You just need to create a npm-shrinkwrap.json file containing this:
{before running NPM install.
"dependencies": {
"graceful-fs": {
"version": "4.2.2"
}
}
}
Initial build & deploy
If you run standard "gulp default" task after the fresh checkout and you've excluded .css files from GIT - the task will silently fail to upload optimized style sheets.But there are few built-in commands that help you fix it - just run "gulp sassComponents" and "gulp sassStyles" before "gulp default" and SXA CLI will pre-generate .css for all .scss components.
Hope this helps you get started with the tool. I will update the post with additional hints, you're welcome to share yours in the comments!
Thanks for your post, it guided me into the right direction! I have put a lot of effort into implementing a good way of working using the Sitecore SXA CLI. I published the results on Github at https://github.com/macaw-interactive/SXACLI-enhancements. Let me know if anything is missing.
ReplyDeleteGreat Article Cloud Computing Projects
DeleteNetworking Projects
Final Year Projects for CSE
JavaScript Training in Chennai
JavaScript Training in Chennai
The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
The Best of the Blogs You have Mentioned here.
ReplyDeleteSitecore Online Training
Sitecore Training in Hyderabad
Really it is very useful for us..... the information that you have shared is really useful for everyone.Nice article i have ever read information's like this.it's really awesome the way you have delivered your ideas.i hope you will add more content in your blog PHP Training in Chennai | Certification | Online Training Course | Machine Learning Training in Chennai | Certification | Online Training Course | iOT Training in Chennai | Certification | Online Training Course | Blockchain Training in Chennai | Certification | Online Training Course | Open Stack Training in Chennai |
ReplyDeleteCertification | Online Training Course
https://globexdocuments.co//
ReplyDeletehttps://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
Scottish Government Topics
ReplyDeletehttps://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
https://globexdocuments.co//
very interesting, good job and thanks for sharing such a good blog. Seo Services Delhi
ReplyDeleteHi.Very Good Article.Thanks For Sharing. Keep Up Tha Good Work
ReplyDeleteSEO Training in Pune
SEO Training in Mumbai
SEO Training in Delhi
SEO Training in Bangalore
SEO Training in Hyderabad
I read this post your post so nice and very informative post thanks for sharing this post. Youtube Mp3 Converter
ReplyDeleteReally amazing information, thanks for sharing this valuable information with us. Visit Ogen Infosystem for the best website designing services and PPC Services at an affordable price.
ReplyDeleteWeb Designing Company
Great Content & Thanks For Sharing With oflox. Do You Want To Know How To Make Money From Mitron App
ReplyDeleteExactly, the very information that I was looking for. I was looking for such kind of article on the Internet and finally ended up here. Thanks for the help!
ReplyDeleteWedding hall in Meerut
Top 10 CBSE School in Meerut
SEO Expert in Meerut
Software Development Company In Delhi NCR
Digital Marketing Company in Hapur
Web Development Meerut
Non Availability of Birth Certificate in Kolkata
Appslure best Mobile app development company in mumbai. We provide service hire dedicated app developer and website developer in Mumbai.
ReplyDeleteGreat Article, If you want more information about Sitecore Training read this article.
ReplyDeletespark online training
ReplyDeletescala online training
azure devops online training
app v online training
sccm online training
Thank you for sharing the information.
ReplyDeletePower BI Training
Thank you for sharing the information.
ReplyDeleteDevOps Online Training
Great Article.Thanks for the remarkable information. Please keep updating us.
ReplyDeleteWeb development Company in Meerut
Best Website Designing Company in Delhi
Best hoarding company in delhi ncr
Best website for hindi News
Best Magazine in india
ReplyDeleteTrusted Digital Marketing Company in Delhi
Are you planning to market your business online and looking for a digital marketing company in Delhi? Visit Techdost.com and grab the opportunity to get a discount on Digital Marketing Services in Meerut.
We are an organised, trustworthy and reliable digital marketing agency providing high-quality and cost-effective digital marketing services in Delhi and all over India.
Digital Marketing Company in Delhi
Attention! Business owners get website designing services for your business! From Meerut to any other state get website designing services contact website designing company in Ghaziabad. You will get the best deals and pricing at Techdost.com. Click the link to get the information regarding Website Designing Services.
Social Media Marketing Expert in Meerut
Android App Developer in Meerut
thanks for sharing nice blog https://mulemasters.in/
ReplyDeleteI definitely enjoy every little bit of it and It is a great website. I want to thank you for the content. I learn a lot from your blog. Good job! You guys do a great blog and have some great content. Keep up the good work.
ReplyDeletebest crm software in india
Infycle Technologies, the top software training institute and placement center in Chennai, offers the Digital marketing course in Chennai for freshers, students, and tech professionals at the best offers. In addition to Digital Marketing, other in-demand courses such as DevOps, Data Science, Python, Selenium, Big Data, Java, Power BI, Oracle will also be trained with 100% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNCs. Call 7504633633 to get more info and a free demo.
ReplyDelete