0

After installing StackEdit:

git clone https://github.com/benweet/stackedit
cd stackedit
npm install
bower install
(export PORT=5000 && node server.js)

It reports the errors:

enter image description here

I googled without finding any solutions. Could any one please help?

Joy
  • 9,430
  • 11
  • 44
  • 95

2 Answers2

0

I saw the same error when I was trying to set the port to 80, but was fine with 5000. So you may try to change the port to others to see if it works. For example:

(export PORT=3000 && node server.js)
Tony
  • 1,405
  • 3
  • 20
  • 31
0

I don't know what is the difference. This time I just download and unzip the zip file from Github. And follow the official instruction:

npm install
bower install
(export PORT=80 && node server.js)

It works.

Joy
  • 9,430
  • 11
  • 44
  • 95