Mobx needs to be used in the development process. After installing and running according to the instructions on the official website, an error is always reported: error: unable to resolve module mobx react from E: (uploadcode, update, test, app, app. JS: mobx react could not be found within the project or in these directions:
node_ modules
…\ node_ Modules
at the beginning, I thought that the network was not good when I downloaded it. I didn’t download it completely, so I uninstalled what I just installed and installed it again, but there was still this error
node_ modules
…\ node_ modules
On node_ Modules and_ I can’t find mobx react in the modules folder, so I went into these two folders and found that… – node_ Modules folder contains the content I just downloaded, but node_ There is no module, so I enter the node from the terminal_ In the modules folder, download and install the dependency again
after downloading, rerun the project and no error will be reported
summary: if there is no dependency for you to download in any folder, go to the corresponding folder and download it again, so that all the folders mentioned in the error message have the dependency for you to download
Read More:
- Failed to load plugin react: cannot find module ‘eslint plugin react’ appears when running Vue project‘
- webstorm npm install –save –save-exact –loglevel error react react-dom react-scripts has failed.
- An error is reported when using react app rewired to start the react project
- [W xx:xx:xx.xxx NotebookApp] 404 GET/static/components/react/react-dom.production.min.js (::1)
- react Error: Objects are not valid as a React child (found: object with keys {username, password})
- 【react】 tsconfig.json Configuration of react JSX error reporting solution in
- unable to access ‘https://github.com/facebook/react-devtools/‘:
- Failed to load bundle…Unable to resolve module `xxx` from xxx: Module `xx` does not exist
- React Error: Minified React error #119
- Error: unable to resolve dependency for… Could not resolve project
- To solve the problem of NPM run eject error in react
- React bootstrap loading and how to use modules
- Error: bundling failed: error: unable to resolve module
- React create project error
- Error: connect econnreused 0.0.0.0:443 is reported when executing the trunk unbox react
- React Native Network Request Failed solution
- Error in react build packaging test environment
- React Native: TypeError: Network request failed
- How to use dangerously set inner HTML in react
- Unable to resolve dependency tree