Can't resolve 'path'
envgap__postcss__postcss-1509
01 / FAILURE SIGNATURE
As reported upstream
Error: ./node_modules/sanitize-html/node_modules/postcss/lib/input.js
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
b7dc3d7ddccab814de33adde4603f2b36cbb70fa- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
postcss/postcss #1509 · read the original issue
I got an error with Angular 11 project ``` Error: ./node_modules/sanitize-html/node_modules/postcss/lib/input.js Module not found: Error: Can't resolve 'path' in '/Users/mkrajcir/Devel/BMB/eshop/node_modules/sanitize-html/node_modules/postcss/lib' Error: ./node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js Module not found: Error: Can't resolve 'path' in '/Users/mkrajcir/Devel/BMB/eshop/node_modules/sanitize-html/node_modules/postcss/lib' Error: ./node_modules/sanitize-html/node_modules/postcss/lib/previous-map.js Module not found: Error: Can't resolve 'path' in '/Users/mkrajcir/Devel/BMB/eshop/node_modules/sanitize-html/node_modules/postcss/lib' ```
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]