Cannot Deploy the given example App to Server
Rohan749 opened this issue · comments
Description:
In the RocketChat.Devs website, under Apps Engine -> UIKit -> Opening the Contextual Bar, there is a given app to be cloned and tested inside the Rocket chat server. After cloning, I tried to deploy it on a local server.
But it is missing a module "typescript".
Steps to reproduce:
- Go to RocketChat.Devs website, under Apps Engine -> UIKit -> Opening the Contextual Bar.
- Clone the given app and try to Deploy it on Local Server.
- It cannot be deployed as it is missing a module as given in the error description.
- Link Of the Given app: https://github.com/RocketChat/apps-contextual-bar-open-example
Expected behavior:
Expected to get uploaded in the RocketChat server
Actual behavior:
Pretty sure NODE_ENV
is in production
. Either do npm config set -g production false
or run npm install --dev
directly.
It is there. As @fdellwing mentioned, whenever you do npm install
ensure you are not running node in production mode and you're in development mode since typescript is a dev dependency.