Module not found: Error: Can't resolve '@mui/joy/Link' in '/home/blackram/drincs-website/node_modules/@drincs/react-components/dist'
Did you mean 'index.js'?
BREAKING CHANGE: The request '@mui/joy/Link' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@drincs/react-components/dist/index.js 449:0-36
Module not found: Error: Can't resolve '@mui/joy/Link' in '/home/blackram/drincs-website/node_modules/@drincs/react-components/dist'
Did you mean 'index.js'?
BREAKING CHANGE: The request '@mui/joy/Link' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
#I'm creating a library with my custom MUI components. But it gives an error after installing
3 messages · Page 1 of 1 (latest)
ERROR in ./node_modules/@drincs/react-components/dist/index.js 637:0-72
Module not found: Error: Can't resolve '@mui/joy/styles' in '/home/blackram/drincs-website/node_modules/@drincs/react-components/dist'
Did you mean 'index.js'?
BREAKING CHANGE: The request '@mui/joy/styles' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
ERROR in ./node_modules/@drincs/react-components/dist/index.js 638:0-95
Module not found: Error: Can't resolve '@mui/material/styles' in '/home/blackram/drincs-website/node_modules/@drincs/react-components/dist'
Did you mean 'index.js'?
BREAKING CHANGE: The request '@mui/material/styles' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.