Closed Syedayesha closed 7 years ago
Hi @Syedayesha, the log for the notification-catcher
is ok.
Note: there is a typo in your first command:
yarn run notifiction catcher
=>yarn run notification-catcher
Can you show me the rest of your code?
Sorry for that.And Thanks for your quick reply I clone th code from this github.I placed my nexmo number in notifme-sdk/examples/ simple.js
file and I did the same thing innotifme-sdk/examples/ with-notification-catcher.js
file.And I used my nexmo api_key and secret_key in
notifme-sdk/src/models/provider-sms.js
.So please help me to overcome this issue
Have you run the example? (yarn run babel-node examples/with-notification-catcher.js
)
If yes, what is the log of the command?
Note: if you're trying to see the sms in the notification catcher, no need to add your Nexmo credentials.
I am getting this error. yarn run v0.27.5 warning package.json: No license field error Command "with-notification-catcher.js" not found. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this com and.
Are you running the command in notifme-sdk
folder?
Yes..How can I run this command outside of the notifme-sdk?Help me to get out of this..
Given the error, the only thing I can tell you is to double-check your current folder. You should be in the root folder of the project. (pwd
displays where you are).
As in readme file I made changes to code.When I run the code with
yarn run notifiction catcher
as mentioned in readme file I am getting errors regarding yarn.So that I run the code with yarn run run-catcher then in terminal I am getting this**
**
When I run the following url in my browser http://localhost:1080 I am getting notifme page but I am not getting a message(as shown in readme file) which I am sending in code.