npx create-miro-app fails

  • 9 February 2023
  • 4 replies
  • 79 views

Badge +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.


4 replies

Userlevel 2
Badge +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 

Userlevel 3
Badge +1

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

Badge +1

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.

Userlevel 3
Badge +1

@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