Hello DEVS! I'm totally new with CC and currently having 2 specific issues when extending the SFRA, could anybody please shed some light on the following?
Steps taken:
- Create a new cartridge using sgmf-scripts ("paths" key in my package.json is OK)
- Create a new controller (e.g. CustomerService) and its template
- Create a tiny client script (i.e. JQuery's dom ready + a console.log 'ready' message)
- Create a 'main.scss' file which uses the "base" alias from the path key in package.json (i.e. @import "base/variables")
- Compile JS: OK, no errors
Issue #1: even thought compilation is OK, after uploading my cartridge and setting correctly the path in BM, the storefront always shows "Pipeline not found (Home) for current domain (Sites-RefArch-Site)".
Issue #2: when trying to compile scss, the "base" path is not found, obviously the path key is either not working properly or simply being ignored.
Notes:
- I'm on the path of the DEV Certification, so I'm not using the new typescript repos neither the webpack builder.
- sgmf-scripts v2.4.1
- Example provided from this video https://share.vidyard.com/watch/ASVVEWfhkJ2uPDeoxbosL3 (https://github.com/jorgehernandezSF/sfra_demo) doesn't work either, exact same result...
Any help and or tips are truly appreciated.
Cheers!
6 answers
Hi - sorry I missed this. The question is a bit beyond my technical expertise, but given Carlos comes from a partner, @Jorge Hernandez may be able to assist.