jest-preview icon indicating copy to clipboard operation
jest-preview copied to clipboard

For a CRA app after following the instructions I got "sass not found. please install sass and try again."

Open Rohitbels opened this issue 2 years ago • 1 comments

For a CRA app after following the instructions I got "sass not found. please install sass and try again."

Once I installed sass additionally it worked. But why was this required.

Environment (please complete the following information)

  • Jest version: [e.g. 26.6.0]

Rohitbels avatar Sep 16 '22 12:09 Rohitbels

Hi @Rohitbels

Thanks for reporting this. jest-preview doesn't require sass to work if your project doesn't contain .scss or .sass files. Does your project use sass? If not, can you check if you unintentionally import .scss, .sass file in the jest-preview global CSS . Also, it would be great if you can provide a reproduction, it will help us debug easier.

Thanks.

ntt261298 avatar Sep 17 '22 02:09 ntt261298

Hey Sorry the issue was on our end. Closing

Rohitbels avatar Sep 28 '22 12:09 Rohitbels