AnishDe12020 / twnft

twnft.vercel.app
MIT License
27 stars 9 forks source link

[BUG]: yarn dev #2

Open Shiba-Matic opened 2 years ago

Shiba-Matic commented 2 years ago

Description of the bug

$ next dev ready - started server on 0.0.0.0:3000, url: http://localhost:3000 event - compiled client and server successfully in 4.6s (769 modules) wait - compiling / (client and server)... event - compiled client and server successfully in 1584 ms (1143 modules) wait - compiling /_error (client and server)... event - compiled client and server successfully in 144 ms (1144 modules) error - FirebaseError: Firebase: Error (auth/invalid-api-key).

Steps To Reproduce

1 of 1 unhandled error Server Error FirebaseError: Firebase: Error (auth/invalid-api-key).

This error happened while generating the page. Any console logs will be displayed in the terminal window. Source lib\firebase.ts (15:28) @ eval

13 | const app = initializeApp(firebaseConfig); 14 |

15 | export const auth = getAuth(app); | ^ 16 | 17 | export default app;

Additional Information

No response

AnishDe12020 commented 2 years ago

You need to add the firebase API keys and other environment variables (twitter bearer token, nft module address and backend url) in a .env.local file.