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
/banana/node_modules/strtok3/lib/FsPromise.js
(os.linux.x86_64)
"node:buffer" in
/banana/node_modules/strtok3/lib/AbstractTokenizer.js
(os.linux.x86_64)
"strtok3/core" in
/banana/node_modules/file-type/core.js
(os.linux.x86_64)
"node:stream" in
/banana/node_modules/file-type/core.js
(os.linux.x86_64)
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?