Lesson10: Get error when "build" on fleek #2885
-
I have "yarn build" well on my local environment and when I push the code onto github and try to "yarn build" on "fleek", I get below error:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@PatricHenry : In your
And if you have those imports in your files, Then check in your If it is not in there, Run this command in your terminal : Let me know, If it resolves your issue! |
Beta Was this translation helpful? Give feedback.
@PatricHenry : In your
_app.js
&LotteryEntrance.js
files make sure you have importedweb3uikit
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 haveweb3uikit
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!