node_modules/file-type/core.js:1:21:
1 │ import {Buffer} from 'node:buffer';
╵ ~~~~~~~~~~~~~
The package "node:buffer" wasn't found on the file system but is built into node. Are you trying
to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
I am using node.js