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.

Module not found StringUtils

See original GitHub issue

Issue Description

After updating to version 0.2.42 I get an error on my next js application which says “Module not Found …/typeorm/util/StringUtils” Seems like its no exported any more.

Expected Behavior

The StringUtils should be exported, for minor version.

Actual Behavior

  StringUtils are not exported to implement as module

Steps to Reproduce

For example load up a Next JS Project with Next-Auth which has Typeorm as dependency.  

My Environment

Dependency Version
Operating System
Node.js version x.y.zzz
Typescript version x.y.zzz
TypeORM version x.y.zzz

Additional Context

Relevant Database Driver(s)

DB Type Reproducible
aurora-data-api no
aurora-data-api-pg no
better-sqlite3 no
cockroachdb no
cordova no
expo no
mongodb no
mysql no
nativescript no
oracle no
postgres no
react-native no
sap no
sqlite no
sqlite-abstract no
sqljs no
sqlserver no

Are you willing to resolve this issue by submitting a Pull Request?

  • ✖️Yes, I have the time, and I know how to start.
  • ✖️ Yes, I have the time, but I don’t know how to start. I would need guidance.
  • ✖️ No, I don’t have the time, but I can support (using donations) development.
  • ✅ No, I don’t have the time and I’m okay to wait for the community / maintainers to resolve this issue.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:5
  • Comments:20 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
adamskrodzkicommented, Apr 27, 2022

In hope that this will help anybody.

In my case problem was fixed by using node v16.13.0 instead of v14.18.1

2reactions
pleerockcommented, Feb 17, 2022

@giladgd thanks for urgent response, fix was released in 0.2.43.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - StringUtils class not found - Stack Overflow
I wrote a console application which reads a text file to String and then processes the file contents. I used maven in my...
Read more >
Reason: Unable to resolve reference of StringUtils.
Your app does not know where StringUtils are. Usually they are hidden in some other dependency or even in the runtime itself. See...
Read more >
Class "Drush\Utils\StringUtils" not found in Drupal ...
It's not possible to use the module after what I assume is a certain Drush update. It attempts to use a "generatePassword" method...
Read more >
StringUtils (Apache Commons Lang 3.12.0 API)
Search a CharSequence to find the first index of any character not in the given set of characters. static int, indexOfDifference(CharSequence... css). Compares ......
Read more >
How to solve "the import org.apache .common.lang3 can not ...
StringUtils is very useful Java class in org.apache.commons.lang3 package. But If you want to use StringUtils you need to import ...
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