#Mantine template page won't start

2 messages · Page 1 of 1 (latest)

dim mantle
#

Hi!
I've installed mantine, but the template page won't load and throws these errors.
My steps:

  1. npm install @mantine/core @mantine/hooks @mantine/form @mantine/notifications @mantine/dates dayjs @mantine/prism @mantine/rte @mantine/dropzone @mantine/carousel embla-carousel-react @mantine/spotlight @mantine/modals @mantine/nprogress @emotion/react
  2. npx create-react-app my-mantine-app --template typescript
  3. cd my-mantine-app
  4. npm start
  5. replaced App.tsx with :
    import { MantineProvider, Text } from '@mantine/core';

export default function App() {
return (
<MantineProvider withGlobalStyles withNormalizeCSS>
<Text>Welcome to Mantine!</Text>
</MantineProvider>
);
}
I've followed the tutorial, but to no avail.
I have npm 8.18.2, node v16.15.0

gaunt elk