I get Module not found: Error: Can't resolve 'fs' . When i
build
and run with
serve
script. The code build perfectly but when i start it gives error.
I also added webpack alias for fs. With adding it, fail to
build
hi @Ronok - what version of payload were you on before you updated to 1.6.16?
Thank you for replying but the problem was solved after using NODE_ENV = production
Ah wonderful 👍
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.