I am trying to connect Wooffer in my backend to my code.
I have 2 environments.
-
Development
-
Live (Production)
in my production environment, the same code is working in production but whenever I try development code on my local device it’s not working, here is my Code
const wooffer = require("beta-wooffer");
wooffer(process.env.woofferToken, process.env.woofferServiceToken);
I Added woofferToken and woofferServiceToken in my .env file
but I am getting an Error
I don’t know How to fix that,
is there any way to solve the issue or I should delete the service and create new one ?
I tried many times to close and start again my developer server but it give the same error, Before deployment of production it was working fine.