[SOLVED] Unable to resolve some modules: "node:fs"

Edit: Got the error when import file-type package

import { fileTypeFromFile } from "file-type";

and got the error:

Unable to resolve some modules:
  "node:fs" in                                
  "node:buffer" in                            
  "strtok3/core" in                           
  "node:stream" in                            
If you notice problems related to these missing modules, consider running:
  meteor npm install --save node:fs node:buffer strtok3 node:stream

I’m using Meteor 2.6.0 beta-4
What package i’m missing?

We are using the previous major version of this package because of these issues. Never got the chance to report to github

1 Like

Wow. Thank you very much. I install version file-type@16.5.3 and it works.