Open interstates21 opened 4 years ago
@interstates21 Try adding this to your webpack config file :
node: {
fs: 'empty'
}
I took that trick from an old project of mine, but I can't remember exaaactly what it does lol :grimacing:
....but it solves the issue ! :man_shrugging:
Hey @interstates21 were you able to find a solution to this problem? I am having the same issue :(
I'm trying to import Ammo on next.js using https://github.com/donmccurdy/aframe-physics-system/blob/master/AmmoDriver.md
How could 'fs' be used on a none-node project? Error:
Next.js webpack config
Import