Hi,
I’m working on compiling my own copy of the Mattermost mobile android application. The problem that I’m currently facing is that the imports in the javascript files are not able to find the references.
For example:
I have to change import {DeviceTypes} from 'app/constants';
to import {DeviceTypes} from '../../../app/constants';
in the file for the reference to be found.
I’m assuming that there is something that I am missing because I am unable to find any topics online about this, but I haven’t been unable to figure it out.
Thank you for your response. I am following that documentation, but I think the issue I’m having is that I’m working in a Windows environment. The “make pre-run” command was failing, and I tried working around that. Now, I’m working on getting the “make pre-run” command to work properly, but I’m getting an error of:
make i info Invoking pre-run target
(node:420) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): undefined (node:420) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a
non-zero exit code. make × ERR not found: make-|
Thanks for the documentation. Our Mattermost service is deployed already on an Ubuntu server and is working fine. I am having issues with building the Android Application on a Windows machine.