Skip to main content

npx create-miro-app fails


Forum|alt.badge.img+1

npx create-miro-app@latest crashes with the following error:

 

Unexpected error. Report it as a bug, so we can look into it:

                        TypeError: t.replaceAll is not a function

 

It doesn't depends on the options I choose, it fails all the time.

 

I am using Node version 14.21.1 and NPM version 6.14.17 on Ubuntu 22.

 

I tried different create-miro-app versions and 1.8.0 is the most recent that works.

Was it helpful?

4 replies

Marco Spinello
Mironeer
Forum|alt.badge.img+1

Hi @Arnau,

Thank you for reaching you and for reporting the bug. Apologies for the trouble!

I contacted the engineers who own the app in question to ask them to investigate.

I'll post updated in this thread.

Thank you again + best,

marco

Technical writer | Developer support | DevX 


Mettin
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 86 replies
  • February 10, 2023

Hey @Arnau,

string.replaceAll is a function that was added to node V15. We have pushed an update that replaced the replaceAll with a regex to solve this and support node v14. If you are blocked by this, you could update your local node version using NVM. Otherwise, the update will be pushed to NPM later today.

 

Thanks for reporting!

Mettin


Forum|alt.badge.img+1
  • Author
  • New Here
  • 1 reply
  • February 10, 2023
Mettin wrote:

Hey @Arnau,

string.replaceAll is a function that was added to node V15. We have pushed an update that replaced the replaceAll with a regex to solve this and support node v14. If you are blocked by this, you could update your local node version using NVM. Otherwise, the update will be pushed to NPM later today.

 

Thanks for reporting!

Mettin

Hi @Mettin,

 

Thanks for the support! 

I didn’t expect a such a quick feedback and fix.

I will download the new version when it is available.

 

Thanks again!

 

Arnau.


Mettin
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 86 replies
  • February 10, 2023

@Arnau Glad to hear we are exceeding expectations!

create-miro-app@1.10.6 is released, npx create-miro-app@latest should now work on Node v14 =)


Reply