← All tasks
javascriptsindresorhus/file-type #408Not a task: already works

ERROR in ./node_modules/readable-web-to-node-stream/lib/index.js Module not found

envgap__sindresorhus__file-type-408

01 / FAILURE SIGNATURE

As reported upstream

Module not found: Error: Can't resolve 'stream' in `
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
615cedcd3376b46e7b8992ec739664c33f5be8df
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

sindresorhus/file-type #408 · read the original issue
With Angular@10.1.6 and file-type@16.0.0 and get the following error in console during startup:

`ERROR in ./node_modules/readable-web-to-node-stream/lib/index.js

Module not found: Error: Can't resolve 'stream' in `



The file exists in node_modules directory, nothing seems wrong.

But using an older version helps. The last version, that works without this error, is file-type@12.4.2



Is there any known issue?

Or what am I doing wrong?
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]