stackedit

StackEdit: cannot start server.js


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?


Solution

  • 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.