Setup Error
-
@KingCat said:
Looks like you're trying to install a newer version of node from a different repository. I would suggest removing the nodejs-legacy0.10 package first. Doing an apt-get purge nodejs-legacy should do it. Then re-run your install.
Thanks
Now it gives:Starting NodeBB
"./nodebb stop" to stop the NodeBB server
"./nodebb log" to view server output
root@out7:~/nodebb# url.js:111
throw new TypeError("Parameter 'url' must be a string, not " + typeof url)
^
TypeError: Parameter 'url' must be a string, not undefined
at Url.parse (url.js:111:11)
at Object.urlParse [as parse] (url.js:105:5)
at getPorts (/root/nodebb/loader.js:184:22)
at Loader.start (/root/nodebb/loader.js:141:13)
at /root/nodebb/node_modules/async/lib/async.js:610:21
at /root/nodebb/node_modules/async/lib/async.js:249:17
at iterate (/root/nodebb/node_modules/async/lib/async.js:149:13)
at /root/nodebb/node_modules/async/lib/async.js:160:25
at /root/nodebb/node_modules/async/lib/async.js:251:21
at /root/nodebb/node_modules/async/lib/async.js:615:34 -
After installing the Forum opens this way: http://site.ru:4567, tell me how to make the port is opened without?
-
@julian said:
@1Smert1 https://docs.nodebb.org/en/latest/configuring/proxies/nginx.html
Thanks for help.
When you install plugins, I get an error:npm WARN package.json [email protected] No repository field.
-
[root@IpBnzz100656 nodebb]# npm install
[root@IpBnzz100656 nodebb]# ./nodebb setup
24/5 01:59:54 [26530] - warn: Your version of Node.js is too outdated for NodeBB. Please update your versi
24/5 01:59:55 [26530] - warn: Recommended undefinedundefinedundefinedundefined
24/5 01:59:55 [26530] - info: NodeBB Setup Triggered via Command LineWelcome to NodeBB!
This looks like a new installation, so you'll have to answer a few questions about your environment before
Press enter to accept the default setting (shown in brackets).24/5 01:59:55 [26530] - info: Now configuring redis database:
Configuration Saved OK
Populating database with default configs, if not already set...
/home/node/nodebb/node_modules/autoprefixer/data/prefixes.js:61
result[name] = Object.assign({}, data);
^
TypeError: undefined is not a function
at prefix (/home/node/nodebb/node_modules/autoprefixer/data/prefixes.js:61:31)
at /home/node/nodebb/node_modules/autoprefixer/data/prefixes.js:88:12
at f (/home/node/nodebb/node_modules/autoprefixer/data/prefixes.js:40:5)
at Object.<anonymous> (/home/node/nodebb/node_modules/autoprefixer/data/prefixes.js:87:1)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17) -
Your version of Node.js is too outdated for NodeBB. Please update your versi
In case it isn't obvious what you should do, install Node.js version 6. You can Google how to do this.