Skip to content

Lesson10: Get error when "build" on fleek #2885

Answered by RoboCrypter
PatricHenry asked this question in Q&A
Discussion options

You must be logged in to vote

@PatricHenry : In your _app.js & LotteryEntrance.js files make sure you have imported web3uikit on top!

  • First check in your LotteryEntrance.js make sure this : import { useNotification } from "web3uikit" should be there on top!

  • Then check in your _app.js make sure this : import { NotificationProvider } from "web3uikit"; should be there on top!

And if you have those imports in your files, Then check in your package.json and see, if you have web3uikit in there ?

If it is not in there, Run this command in your terminal : yarn add web3uikit@^0.1.159

Let me know, If it resolves your issue!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PatricHenry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants