[BUG] The requested module 'fs' does not provide an export named 'cp'
boopxyz opened this issue · 1 comments
boopxyz commented
Getting this error when building or running dev:
import { cp } from "fs"; ^^ SyntaxError: The requested module 'fs' does not provide an export named 'cp'
eggsy commented
Hey!
That's weird, I tried building the app on a Windows machine and it worked just fine. Can I see your node --version
? I think the cp
method was added in v16.7.0
to Node.js, so make sure you're using that or a version higher than that one.