[Solved] when i am running the Angular Pusher application …I am getting an error

I think this happens when you haven’t setup your Pusher appId, key, and secret in server.js. var pusherConfig = {}; try { pusherConfig = require(‘./pusherConfig’); } catch (err) { pusherConfig.appId = process.env.PUSHER_APP_ID; pusherConfig.key = process.env.PUSHER_KEY; pusherConfig.secret = process.env.PUSHER_SECRET; } As you can see it looks for the Pusher appId, key, and secret in environment variables … Read more