This is a Next.js project bootstrapped with create-next-app
.
- Checkout
npm install
npm run dev
error - ./node_modules/@open-wa/wa-automate/dist/api/Client.js:55:0
Module not found: Can't resolve 'fs'
Import trace for requested module:
./node_modules/@open-wa/wa-automate/dist/index.js
./pages/index.js
https://nextjs.org/docs/messages/module-not-found