You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PACKAGE_JSON_SETUP.md
+81Lines changed: 81 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -534,6 +534,87 @@ npm run test:ci -- --include='**/time-planning-pn/**/*.spec.ts'
534
534
npm run test -- --watch=false --browsers=ChromeHeadless
535
535
```
536
536
537
+
538
+
### Issue 5: "Can't resolve 'src/styles.scss'" or "Can't resolve 'src/theme.scss'"
539
+
540
+
**Error messages:**
541
+
```
542
+
Error: Can't resolve 'src/styles.scss' in '/path/to/eform-client'
543
+
Error: Can't resolve 'src/theme.scss' in '/path/to/eform-client'
544
+
ERROR [karma-server]: Error: Found 1 load error
545
+
```
546
+
547
+
**Cause:** The Angular configuration references style files that don't exist or aren't needed for running tests. This typically happens when `angular.json` specifies global styles that aren't present in the repository.
0 commit comments