Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Assertion error

Open mikrobyte opened this issue 10 years ago • 1 comments

Your Rocket.Chat version: (make sure you are running the latest) upgrading process from 0.39.0 to 0.41.0

` root@h2529749:/opt# mv bundle/ Rocket.Chat root@h2529749:/opt# rm -rf rocket.chat.tgz root@h2529749:/opt# cd Rocket.Chat/programs/server/ root@h2529749:/opt/Rocket.Chat/programs/server# npm install npm WARN package.json [email protected] No description npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No README data /

[email protected] install /opt/Rocket.Chat/programs/server/node_modules/fibers node build.js || nodejs build.js

make: Entering directory /opt/Rocket.Chat/programs/server/node_modules/fibers/build' CXX(target) Release/obj.target/fibers/src/fibers.o CXX(target) Release/obj.target/fibers/src/coroutine.o CC(target) Release/obj.target/fibers/src/libcoro/coro.o SOLINK_MODULE(target) Release/obj.target/fibers.node SOLINK_MODULE(target) Release/obj.target/fibers.node: Finished COPY Release/fibers.node make: Leaving directory/opt/Rocket.Chat/programs/server/node_modules/fibers/build' Installed in /opt/Rocket.Chat/programs/server/node_modules/fibers/bin/linux-x64-v8-3.14/fibers.node npm WARN cannot run in wd [email protected] node npm-rebuild.js (wd=/opt/Rocket.Chat/programs/server) [email protected] node_modules/amdefine

[email protected] node_modules/meteor-promise

[email protected] node_modules/asap

[email protected] node_modules/underscore

[email protected] node_modules/eachline └── [email protected]

[email protected] node_modules/semver

[email protected] node_modules/source-map-support

[email protected] node_modules/source-map

[email protected] node_modules/promise

[email protected] node_modules/chalk ├── [email protected] ├── [email protected] ├── [email protected] ├── [email protected] ([email protected]) └── [email protected] ([email protected])

[email protected] node_modules/fibers root@h2529749:/opt/Rocket.Chat/programs/server# cd ../.. root@h2529749:/opt/Rocket.Chat# export ROOT_URL=http://vodteam.chat root@h2529749:/opt/Rocket.Chat# export MONGO_URL=mongodb://localhost:27017/rocketchat root@h2529749:/opt/Rocket.Chat# export PORT=80 root@h2529749:/opt/Rocket.Chat# node main.js

assert.js:93 throw new assert.AssertionError({ ^ AssertionError: "undefined" === "function" at wrapPathFunction (/opt/Rocket.Chat/programs/server/mini-files.js:77:10) at Object. (/opt/Rocket.Chat/programs/server/mini-files.js:108:24) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/opt/Rocket.Chat/programs/server/boot.js:9:13) at Module._compile (module.js:456:26) root@h2529749:/opt/Rocket.Chat#

`

mikrobyte avatar Sep 28 '16 06:09 mikrobyte

Please follow https://rocket.chat/docs/installation/manual-installation/ubuntu/#update and make sure you are using NodeJS 4.5.0 now. Reopen the issue if the problem persists with you node and nom version.

engelgabriel avatar Sep 28 '16 13:09 engelgabriel