stasyn1410Original post
Web Developer
Today i started build my first app with appwrite ❤️
and i working with tutorial on apwrite.io but my console is logging:
Plain text
./node_modules/node-fetch/lib/index.js./node_modules/cross-fetch/dist/node-ponyfill.js./node_modules/appwrite/dist/esm/sdk.js./src/lib/context/user.tsx ⚠ ./node_modules/node-fetch/lib/index.jsModule not found: Can't resolve 'encoding' in '/Users/sta/WebstormProjects/appwrite-project/node_modules/node-fetch/lib'
Import trace for requested module:./node_modules/node-fetch/lib/index.js./node_modules/cross-fetch/dist/node-ponyfill.js./node_modules/appwrite/dist/esm/sdk.js./src/lib/context/user.tsx```Summary
The user is encountering an import trace error when working with the Appwrite tutorial. The error is related to a missing 'encoding' package in the '/node-fetch/lib' directory. The solution is to install the 'encoding' package.