Errors running Ionic2 app with Parse Server backend


#1

I’m trying to use Parse Server backend with Ionic 2 app. I installed Parse Server SDK according to Parse team instructions, but when I try to run the app (ionic serve) I’m getting the following errors:

Cannot find module 'bufferutil'
Cannot find module 'utf-8-validate'
Cannot find module 'hiredis'

I searched all over the internet, but didn’t find any information regarding the cause or solution for the problem.

Here is my code:

var ParseServer = require('parse-server');
ParseServer.serverURL = 'http://<server-ip>:1337/parse/';
ParseServer.initialize('<AppID>', '','<MasterKey>');

At this point I’m looking for any insights on how to approach debugging of the problem.

Thank you.