Module not found: Can't resolve 'mobx-state-tree'

Open
#97 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
devtools

Research direction

Start by reproducing the import of mobx-devtools-mst in a JavaScript app using the dependency versions listed, then inspect node_modules/mobx-devtools-mst/lib and its declared dependencies. Confirm why the module resolution looks for mobx-state-tree and define completion as making the import resolve without the reported error.

Written by the indexing model from the issue text.

Description

I have mobx 6.1.8 and my app does not live inside an iframe.
Here are my mobx-related depencencies:

"mobx": "^6.1.8",
"mobx-devtools-mst": "^0.9.30",
"mobx-react": "^6.1.8",

When i try to import devtools like so:

import makeInspectable from 'mobx-devtools-mst'
I get the following error:

Module not found: Can't resolve 'mobx-state-tree' in '.../node_modules/mobx-devtools-mst/lib'

Dominant language
JavaScript
Stars
502
Forks
34
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mobxjs/mobx-devtools

All issues in mobxjs/mobx-devtools

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.