Open
Description
Hi guys !
I'm using Rapier since today, and trying to play with the lib on a Shopify Hydrogen Storefront environment.
I ran my local env, and just put the tag, and I got an error in the console :
X [ERROR] Could not resolve "fs"
node_modules/opentype.js/dist/opentype.module.js:13591:25:
13591 │ var fs = require('fs');
╵ ~~~~
The package "fs" 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.
So i'm asking how to solve that ? if you need more infos, I can provide it, thanks for the help !
Metadata
Metadata
Assignees
Labels
No labels