material-tailwind icon indicating copy to clipboard operation
material-tailwind copied to clipboard

Named export 'Avatar' not found. The requested module '@material-tailwind/react'

Open Shaxadhere opened this issue 1 year ago • 0 comments

Getting this error when deploying to netlify. Build works fine when working locally on development.

error Named export 'Avatar' not found. The requested module '@material-tailwind/react' is a CommonJS module, which may not support all module.exports as named exports. 4:29:20 AM: CommonJS modules can always be imported via the default export, for example using: 4:29:20 AM: import pkg from '@material-tailwind/react'; 4:29:20 AM: const { Navbar, Typography, IconButton, MobileNav, Button, Avatar, ThemeProvider: ThemeProvider$1, Menu, MenuHandler, MenuList, MenuItem } = pkg; 4:29:20 AM:

Shaxadhere avatar Sep 17 '23 23:09 Shaxadhere