Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit d61f51f

Browse files
committed
add Node Sass solution to readme, close #176
1 parent a237975 commit d61f51f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,18 @@ If you are using [plugins/cra-v3](plugins/cra-v3) it instruments the code on the
222222

223223
You can use any [Visual Testing plugin](https://on.cypress.io/plugins#visual-testing) from these component tests. This repo uses [Percy.io](https://percy.io) visual diffing service as a GitHub pull request check.
224224

225+
## Common problems
226+
227+
### Node Sass
228+
229+
When using Node Sass styles, tell Cypress to use [the system NodeJS](https://on.cypress.io/configuration#Node-version) rather than its bundled version. In `cypress.json` set option:
230+
231+
```json
232+
{
233+
"nodeVersion": "system"
234+
}
235+
```
236+
225237
## Development
226238

227239
See [docs/development.md](./docs/development.md)

0 commit comments

Comments
 (0)