crash node after update topic page
-
crash node after update topic page
i make
npm install
ls -d node_modules/nodebb* | xargs -n1 basename | xargs npm update
node app --upgradeand now, when i cmd+f5 at topic page, node crash with
/www/src/webserver.js:569
return sanitize(content).escape();
^
TypeError: undefined is not a function
at /www/src/webserver.js:569:15
at async.waterfall.topic_url (/www/src/webserver.js:570:9)
at fn (/www/node_modules/async/lib/async.js:579:34)
at Object._onImmediate (/www/node_modules/async/lib/async.js:495:34)
at processImmediate [as _immediateCallback] (timers.js:330:15) -
@julian
npm WARN unmet dependency /www/node_modules/nodebb-plugin-finder requires semver@'~2.0.0' but will load
npm WARN unmet dependency /www/node_modules/semver,
npm WARN unmet dependency which is version 2.2.1
[email protected] /www
└── [email protected] -
validator
root@wasd:/www# npm ls validator
[email protected] /www
└── [email protected] -
I don't think you ran
npm install
did you?