Skip to content

Can't resolve 'stream/web' ./undici/lib/fetch #1541

@ArthurBonsu

Description

@ArthurBonsu

Bug Description

Reproducible By

Expected Behavior

Logs & Screenshots

./node_modules/hardhat/node_modules/undici/lib/core/util.js
Module not found: Can't resolve 'stream/web' in 'D:\BLOCKCHAIN EXPERIMENTAL LAB\flowstationyarnV2\flowstationyar
n\flowstationkingdom\node_modules\hardhat\node_modules\undici\lib\core'

Import trace for requested module:
./node_modules/hardhat/node_modules/undici/index.js
./node_modules/hardhat/internal/hardhat-network/jsonrpc/server.js
./node_modules/hardhat/builtin-tasks/node.js
./node_modules/hardhat/internal/core/tasks/builtin-tasks.js
./node_modules/hardhat/internal/core/config/config-loading.js
./node_modules/hardhat/internal/lib/hardhat-lib.js
./pages/originaltokenswap.tsx

./node_modules/hardhat/node_modules/undici/lib/fetch/body.js
Module not found: Can't resolve 'util/types' in 'D:\BLOCKCHAIN EXPERIMENTAL LAB\flowstationyarnV2\flowstationyar
n\flowstationkingdom\node_modules\hardhat\node_modules\undici\lib\fetch'

Import trace for requested module:
./node_modules/hardhat/node_modules/undici/lib/fetch/response.js
./node_modules/hardhat/node_modules/undici/index.js
./node_modules/hardhat/internal/hardhat-network/jsonrpc/server.js
./node_modules/hardhat/builtin-tasks/node.js
./node_modules/hardhat/internal/core/tasks/builtin-tasks.js
./node_modules/hardhat/internal/core/config/config-loading.js
./node_modules/hardhat/internal/lib/hardhat-lib.js
./pages/originaltokenswap.tsx

./node_modules/hardhat/node_modules/undici/lib/fetch/body.js
Module not found: Can't resolve 'stream/web' in 'D:\BLOCKCHAIN EXPERIMENTAL LAB\flowstationyarnV2\flowstationyar
n\flowstationkingdom\node_modules\hardhat\node_modules\undici\lib\fetch'

Import trace for requested module:
./node_modules/hardhat/node_modules/undici/lib/fetch/response.js
./node_modules/hardhat/node_modules/undici/index.js
./node_modules/hardhat/internal/hardhat-network/jsonrpc/server.js
./node_modules/hardhat/builtin-tasks/node.js
./node_modules/hardhat/internal/core/tasks/builtin-tasks.js
./node_modules/hardhat/internal/core/config/config-loading.js
./node_modules/hardhat/internal/lib/hardhat-lib.js
./pages/originaltokenswap.tsx

./node_modules/hardhat/node_modules/undici/lib/fetch/index.js
Module not found: Can't resolve 'stream/web' in 'D:\BLOCKCHAIN EXPERIMENTAL LAB\flowstationyarnV2\flowstationyar
n\flowstationkingdom\node_modules\hardhat\node_modules\undici\lib\fetch'

Import trace for requested module:
./node_modules/hardhat/node_modules/undici/index.js
./node_modules/hardhat/internal/hardhat-network/jsonrpc/server.js
./node_modules/hardhat/builtin-tasks/node.js
./node_modules/hardhat/internal/core/tasks/builtin-tasks.js
./node_modules/hardhat/internal/core/config/config-loading.js
./node_modules/hardhat/internal/lib/hardhat-lib.js
./pages/originaltokenswap.tsx

Environment

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions