snipcart / scully-snipcart-store

Demo e-commerce application built with Angular, Scully and Snipcart
14 stars 9 forks source link

Config file ".\scully.workfromhome-store.config.ts" not found #1

Open Guebbit opened 4 years ago

Guebbit commented 4 years ago

I come from Vue and I'm trying to learn Angular for a project I have. That project involves using SSG and for that I was lead to Scully. I read a little in many places, but I decided that I needed fully functional demo to understand better.

The fact is, that the demo I downloaded here doesn't work out of the box and I find it strange. Moreover, the error that provide me is strange. Here' the screens:

image image

How come it can't find the scully.wortkfromhome-store.config.ts but it's where it should be? I don't understand really.

Tim-mhn commented 3 years ago

Your scully config file is a .js file instead of .ts file. That's why it can't find the scully.wortkfromhome-store.config.ts.

I've created a PR for this but otherwise change the config file extension and change its content following the documentation