javascript-tutorial/server

[Bug report] - local server error due to "js-yaml" update

C17AN opened this issue · 2 comments

C17AN commented

Hello! I found there's a problem with running tutorial server.
By following this server guide, I should encounter this error, "Function yaml.safeLoad is removed in js-yaml 4."...

Printing Error with current guide

image

I think server code should be modified, or using the old version of "js-yaml".

After replacing "js-yaml" to old version(3.14.1)

image

How about replacing "js-yaml": "*" to "js-yaml" : "3.14.1" in package.json?

Updated.

Thanks!