Rocket.Chat.Apps-cli icon indicating copy to clipboard operation
Rocket.Chat.Apps-cli copied to clipboard

Error in deploying App.Rasa - createRequire is not a function

Open gioppoluca opened this issue 5 years ago • 1 comments

Trying to deploy the App.Rasa application with the rc-apps and the error I get is:

Starting App Deployment to Server

  Getting Server Info... ✓
  Packaging the app... ✖
›   Error:    ⟿  createRequire is not a function

Any idea on why this is happening?

gioppoluca avatar Feb 02 '21 13:02 gioppoluca

I had the same problem. I think the problem was an old node version. So solve the problem i used Node version manager.

sudo apt-get install nvm
nvm install 14.15.1

hope that helps ;)

JakobFerdinand avatar Mar 01 '21 14:03 JakobFerdinand