Skip to content

Module not found: Can't resolve 'fs' #214

@oluwaseunladeinde

Description

@oluwaseunladeinde

When I import the package, I keep getting the following:

Module not found: Can't resolve 'fs'
8 |
9 | // src/config.ts

10 | import * as fs from "fs";
| ^^^^^^^^^^^^^^^^^^^^^^^^^
11 | import { set_fs } from "xlsx";
12 | set_fs(fs);
13 |

image

node version: v20.17.0
npm version: 10.9.0
react version: 19.0.0-rc-66855b96-20241106

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions