question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module: '../isolated-hoist-non-react-statics-do-not-use-this-in-your-code etc.

See original GitHub issue

Hey guys.

I dont know which dependency installed the @emotion but at this moment my CI CD failure because of this error. I did not found any solution for this. When I try to build the code this error happens:

Failed to compile.
.\node_modules\@emotion\react\dist\emotion-react.browser.esm.js
Cannot find module: '../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js'. Make sure this package is installed.

Have you any idea how could I solve?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Andaristcommented, Nov 4, 2021

I will shorten this path soon

2reactions
jameskayecommented, Oct 28, 2021

This issue has prevented adoption of this library for my team. VS restricts path length to 260 with no way around the issue. It seems that the path is needlessly long, so it’d be great if this could be fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >
How to resolve can't find module error in Node.js - Reactgo
In this tutorial, we are going to learn about how to resolve can't find a module error in Node.js. If you are not...
Read more >
Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
Read more >
Error: Cannot find module when using --ignore-optional #4340
I'm having an issue with --ignore-optional as well. My dependency listed in dependencies is not being installed, causing my build to fail.
Read more >
Fix error: cannot find module 'x' in Node.js or 'express'
To solve the “error: cannot find module in Node.js or express” you have to first know why this error occurs. Mostly, this error...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found