Cannot access Image.prototype on the server
Unanswered
Blood cockle posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/3.png)
Blood cockleOP
Hi all,
Anyone facing this when using the NextJs Image component instead in the img tag?
Error: Cannot access Image.prototype on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.
Thanks in advance!
Anyone facing this when using the NextJs Image component instead in the img tag?
Error: Cannot access Image.prototype on the server. You cannot dot into a client module from a server component. You can only pass the imported name through.
Thanks in advance!
![Image](https://cdn.discordapp.com/attachments/1176846242966425620/1176846243322937344/IMG_8703.png?ex=65705a79&is=655de579&hm=46f382817d3496928f04b5b7bdae421e749cb41e1d2baff8a7024791e2a14793&)
![Image](https://cdn.discordapp.com/attachments/1176846242966425620/1176846243905933412/IMG_8704.png?ex=65705a79&is=655de579&hm=50c63cebb258e3fb369919c3e3a9b6e22baed45c147885a05b477f1d096a1088&)
![Image](https://cdn.discordapp.com/attachments/1176846242966425620/1176846244233105428/IMG_8705.png?ex=65705a79&is=655de579&hm=81e020e37b48407ebf8bf579ecfa7c1bfdda6c23ca7fef66e5cb0fe7a7b0c828&)