Skip to content

Module not found: Can't resolve 'fs/promises'  #115

@mrdrogdrog

Description

@mrdrogdrog

Hello,

I try to use the latest version (1.15.4) in a next.js project but if I try to create a build then I get this error:

./node_modules/@hpcc-js/wasm/dist/index.js
Module not found: Can't resolve 'fs/promises' in 'node_modules/@hpcc-js/wasm/dist'

Using the workaround from vercel/next.js#7755 doesn't work because, even if it compiles then, the browser tries to use the fs package which doesn't exist obviously.

I don't know which version introduced this bug because I upgraded from 1.12.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions