mantinedev / mantinedev/ui.mantine.dev

module not found

Open
#13 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.9k
Forks
364
PR merge metrics
No merged PRs in 30d

Description

Hi, im trying to fork the repo and run it on my pc, im getting some issue like some modules are missing

```
> mantine-ui@1.0.0 dev
> next dev -p 7522

ready - started server on 0.0.0.0:7522, url: http://localhost:7522
error - ./node_modules/@mantine/core/esm/index.js:2:0
Module not found: Can't resolve './components/Transition/index.js'

Import trace for requested module:
./src/components/Layout/Layout.tsx
./src/pages/_app.tsx

https://nextjs.org/docs/messages/module-not-found
wait - compiling /_error (client and server)...
[webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /home/aman/open-source/ui.mantine.dev/node_modules/fsevents isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
[webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /home/aman/open-source/ui.mantine.dev/node_modules/fsevents isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)
error - ./node_modules/@mantine/core/esm/index.js:2:0
Module not found: Can't resolve './components/Transition/index.js'

Import trace for requested module:
./src/components/Layout/Layout.tsx
./src/pages/_app.tsx

https://nextjs.org/docs/messages/module-not-found
[webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Managed item /home/aman/open-source/ui.mantine.dev/node_modules/fsevents isn't a directory or doesn't contain a package.json (see snapshot.managedPaths option)

```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the shown `dev` command and trace the failure from `src/components/Layout/Layout.tsx` through `src/pages/_app.tsx` into `node_modules/@mantine/core/esm/index.js`. Check why `./components/Transition/index.js` cannot be resolved; done means the development server starts without this module error.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, react, typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.