Тёмный

Next.js Unhandled Runtime Error : Invalid src prop 

Anything Blockchain
Подписаться 555
Просмотров 3,2 тыс.
50% 1

Unhandled Runtime Error
Error: Invalid src prop (ipfs.infura.io...) on `next/image`, hostname "ipfs.infura.io" is not configured under images in your `next.config.js`
Solution:
go to you next.config.js and edit the domain props under images. for mine the hostname was ipfs.infura.io
// next.config.js
module.exports = {
reactStrictMode: true,
images: {
domains: ['ipfs.infura.io'],
},
}

Опубликовано:

 

13 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@heddshot87
@heddshot87 Год назад
a tip: instead of searching for a file in the side panel, use command ctrl+p and type the file name and/or folder name, it can be part of the name so you don't have to remember the exact spelling or use the first characters. For example if you have a component named ConfigSomething and you search "config" you'll get several suggestions including non-component files, you can type "config comp" (assuming the file is in the component folder). In case you get several suggestions and don't want to type further for more filtering just use arrow keys up and down. and enter to open the file.
@Akshaykumar-kh2gj
@Akshaykumar-kh2gj Год назад
Thanks 🙏
@codegamer5163
@codegamer5163 2 года назад
Bro you saved my life, thank you
@anythingblockchain
@anythingblockchain 2 года назад
Happy to help
@crazycoinmania
@crazycoinmania 2 года назад
the same happens in the creator dashboard and in the console I see this ad inpage.js:1 MetaMask - RPC Error: Already processing eth_requestAccounts. Please wait. Object
@crazycoinmania
@crazycoinmania 2 года назад
hello greetings, very good information, I am also putting together an app like that market, but I get an error, when I enter my assets when I am offline I will give you the information so that you can guide me please, Unhandled Runtime Error Error: User Rejected Call Stack eval node_modules/web3modal/dist/index.js (45:17288) eval node_modules/web3modal/dist/index.js (16:2711) Object.eval [as throw] node_modules/web3modal/dist/index.js (16:2820) a node_modules/web3modal/dist/index.js (16:1601), the same happens in the creator dashboard
@ferrarif8384
@ferrarif8384 Год назад
Thanks a lot , it helped me a lot!!
Далее
I might be enjoying Remix more than Next
11:02
Просмотров 33 тыс.
UI Libraries Are Dying, Here's Why
13:28
Просмотров 310 тыс.
Как подписать? 😂 #shorts
00:10
Просмотров 822 тыс.
Node.js Doesn’t Suck Anymore
16:59
Просмотров 82 тыс.
How NextJS REALLY Works
28:25
Просмотров 147 тыс.
Why Don't We Have A Laravel For JavaScript?
12:36
Просмотров 99 тыс.
State Managers Are Making Your Code Worse In React
13:33
Brutally honest advice for new .NET Web Developers
7:19
Master NextJS Error Handling in 10 Minutes
9:49
Просмотров 49 тыс.
Как подписать? 😂 #shorts
00:10
Просмотров 822 тыс.