Olá, poderiam me ajudar?
Ao rodar yarn storybook
, recebo o erro:
ERROR in ./src/index.tsx
Module not found: Error: Can't resolve './componentes/AbBotao' in '/home/margo/margarida/estudos/alura-react-lib-componentes/src'
@ ./src/index.tsx 15:0-38 15:0-38
@ ./stories/Thing.stories.tsx
@ ./stories sync ^\.(?:(?:^|\/|(?:(?:(?!(?:^|\/)\.).)*?)\/)(?!\.)(?=.)[^/]*?\.stories\.(ts|tsx|js|jsx))$
@ ./generated-stories-entry.js
@ multi ./node_modules/@storybook/core-client/dist/esm/globals/polyfills.js ./node_modules/@storybook/core-client/dist/esm/globals/globals.js (webpack)-hot-middleware/client.js?reload=true&quiet=false&noInfo=undefined ./storybook-init-framework-entry.js ./node_modules/@storybook/react/dist/esm/client/docs/config-generated-config-entry.js ./node_modules/@storybook/react/dist/esm/client/preview/config-generated-config-entry.js ./node_modules/@storybook/addon-links/preview.js-generated-config-entry.js [...]
resolve './componentes/AbBotao' in '/home/margo/margarida/estudos/alura-react-lib-componentes/src'
using description file: /home/margo/margarida/estudos/alura-react-lib-componentes/package.json (relative path: ./src)
Field 'browser' doesn't contain a valid alias configuration
using description file: /home/margo/margarida/estudos/alura-react-lib-componentes/package.json (relative path: ./src/componentes/AbBotao)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao is not a file
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao.cjs doesn't exist
as directory
existing directory
using path: /home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index
using description file: /home/margo/margarida/estudos/alura-react-lib-componentes/package.json (relative path: ./src/componentes/AbBotao/index)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index.jsx doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index.ts doesn't exist
.tsx
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index.tsx doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index.json doesn't exist
.cjs
Field 'browser' doesn't contain a valid alias configuration
/home/margo/margarida/estudos/alura-react-lib-componentes/src/componentes/AbBotao/index.cjs doesn't exist