typeorm: Module not found StringUtils

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.

About this issue

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

Commits related to this issue

Most upvoted comments

In hope that this will help anybody.

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

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

@k-patton I tried to reproduce it but this problem didn’t occur to me. Could you please provide me with an example project where it happens to you?

I am seeing this issue again in version 0.2.44