Menu icon Foundation
Foundation Building blocks- SCSS Error

Hi there,

 

I am interested in using foundation building blocks and having issues:

 

1. I tried to install building block through CLI and I got the following error:

You don't appear to be in a ZURB stack project, so we can't automatically install building blocks

What does it mean to be on Zurb stack.

I installed CLI globally and installed with foundation new projectname. Is this the right way to be on zurb stack.

 

2. I tried the copy paste method.

I copied html to partial and scss to _progress-indicator and included in app.scss

 I am getting errors from the scss $light-gray variable not defined from the new scss partial i copied.

 

How do i fix this error?

 

Thanks much.

 

 

scss error; building blocks

Hi there,

 

I am interested in using foundation building blocks and having issues:

 

1. I tried to install building block through CLI and I got the following error:

You don't appear to be in a ZURB stack project, so we can't automatically install building blocks

What does it mean to be on Zurb stack.

I installed CLI globally and installed with foundation new projectname. Is this the right way to be on zurb stack.

 

2. I tried the copy paste method.

I copied html to partial and scss to _progress-indicator and included in app.scss

 I am getting errors from the scss $light-gray variable not defined from the new scss partial i copied.

 

How do i fix this error?

 

Thanks much.

 

 

Rafi Benkual about 1 month ago

It sounds like you are not in the correct project. In your terminal, you'll need to cd into the directory of your zurb template (stack) project and do the install from there.