jellyfangs/messenger-bot-tutorial

Issue with sudo npm install npm -g

shing916 opened this issue · 2 comments

Hi all,

i'm a newbie to programming and following the instruction to install both heroku and node.

I'm facing an issue that when i type sudo npm install npm -g into node Command Line Prompt. It show that there's syntax error.

Could anyone help to solve this issue? I tried to search this issue in google but couldn't figure out anything.

thanks and appreciate for your help.

curl -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=<PAGE_ACCESS_TOKEN>"

i solve this by simply type "npm install npm -g"

however, i'm facing issue that in step"curl -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=<PAGE_ACCESS_TOKEN>"

i type this code in cmd but it doesn't work...

problem solved by installed curl