Could not find module in path: 'react-syntax-highlighter/prism-light' (Single example)
See original GitHub issueOn https://react-select.com/home the link to the CodeSandbox example for the Single select list opens up https://codesandbox.io/s/53pf1?module=/example.js that has the following error :
DependencyNotFoundError
Could not find dependency: 'react-syntax-highlighter' relative to '/docs/styled-components.js'
I did install the react-syntax-highlighter dependency (10.3.0) as suggested but I get
ModuleNotFoundError
Could not find module in path: 'react-syntax-highlighter/prism-light' relative to '/docs/styled-components.js'
Can you fix it please ? Thanks !
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
ModuleNotFoundError Could not find module in path
Change your weak-memoize version to 0.7.5. This is a CodeSandBox bug, reverting back to a previous version of the module fixes the problem....
Read more >Could not find module for target 'x86_64-apple-ios-simulator'
I have build a custom framework and everything was working fine until the update of XCode 11. The new XCode 11 released and...
Read more >ModuleFinder (Java SE 9 & JDK 9 ) - Oracle Help Center
A finder of modules. A ModuleFinder is used to find modules during resolution or service binding. A ModuleFinder can only find one module...
Read more >cmake-developer(7) — CMake 3.25.1 Documentation
When the module provides only a single library, this variable can be used to specify where to find headers for using the library...
Read more >modulefinder — Find modules used by a script ... - Python Docs
This module provides a ModuleFinder class that can be used to determine the ... by a script. path can be a list of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
here is the working example https://codesandbox.io/s/codesandboxer-example-forked-tzkog?file=/example.js
Just replace the initial few lines with this:
This would work.