Closed k5jat closed 5 years ago
@k5jat Will need the output of the install.sh
portion. It looks like sqlite3 did not build/install properly during that.
However, you clicked the "I am using Node.js v10.x LTS or higher" checkbox but you're running v6.14.3
which is not supported. That will need addressed first. After fixing that, try rm -rf node_modules
then npm install
before trying again. If it fails, the output of npm install
would be useful.
I'm compiling node 10.x as I type this. It's taking a while because it only have 1 core available.
I thought I saw it install node.js 10.x (went by kind of quick). Is that incorrect? The error shows it's looking for v48 and v64 is in the folder.
Ok, here's a copy and paste of install.sh output. I also used the SCL version of gcc/g++ 7.x. I was able to run the oputil.js (screenie) and it seems to have worked.
`2018-12-01 19:22:23 Checking git installation 2018-12-01 19:22:23 Checking curl installation 2018-12-01 19:22:23 Checking Python installation 2018-12-01 19:22:23 Installing nvm % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 13235 100 13235 0 0 50871 0 --:--:-- --:--:-- --:--:-- 51100 => nvm is already installed in /root/.nvm, trying to update using git => => Compressing and cleaning up git repository
=> nvm source string already in /root/.bashrc => bash_completion source string already in /root/.bashrc => Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && . "$NVM_DIR/bash_completion" # This loads nvm bash_completion 2018-12-01 19:22:23 Installing Node 10 via nvm v10.14.1 is already installed. Now using node v10.14.1 (npm v6.4.1) Now using node v10.14.1 (npm v6.4.1) 2018-12-01 19:22:23 Downloading ENiGMA½ from git to '/root/enigma-bbs' Cloning into '/root/enigma-bbs'... remote: Enumerating objects: 94, done. remote: Counting objects: 100% (94/94), done. remote: Compressing objects: 100% (69/69), done. remote: Total 11547 (delta 34), reused 52 (delta 19), pack-reused 11453 Receiving objects: 100% (11547/11547), 3.83 MiB | 0 bytes/s, done. Resolving deltas: 100% (8314/8314), done. 2018-12-01 19:22:23 Installing required Node packages... 2018-12-01 19:22:23 Note that on some systems such as RPi, this can take a VERY long time. Be patient! Already on '0.0.9-alpha'
dtrace-provider@0.8.6 install /root/enigma-bbs/node_modules/dtrace-provider node-gyp rebuild || node suppress-error.js
make: Entering directory '/root/enigma-bbs/node_modules/dtrace-provider/build' TOUCH Release/obj.target/DTraceProviderStub.stamp make: Leaving directory '/root/enigma-bbs/node_modules/dtrace-provider/build'
node-pty@0.7.4 install /root/enigma-bbs/node_modules/node-pty node scripts/install.js
make: Entering directory '/root/enigma-bbs/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:203,
from ../src/unix/pty.cc:20:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase~~~~~
In file included from ../src/unix/pty.cc:20:0:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyFork(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:154:48: warning: ‘v8::Local~~~~~
../src/unix/pty.cc:165:78: warning: ‘v8::Local~~~~~
../src/unix/pty.cc:176:78: warning: ‘v8::Local~~~~~
../src/unix/pty.cc:181:48: warning: ‘v8::Local~~~~~
../src/unix/pty.cc:186:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
winp.ws_col = info[4]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc:187:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
winp.ws_row = info[5]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc:195:26: warning: ‘v8::Local~~~~~
../src/unix/pty.cc:231:35: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int gid = info[7]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyOpen(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:315:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
winp.ws_col = info[0]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc:316:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
winp.ws_row = info[1]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyResize(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:360:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc:363:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
winp.ws_col = info[1]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc:364:39: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
winp.ws_row = info[2]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE PtyGetProc(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/unix/pty.cc:387:34: warning: ‘int64_t v8::Value::IntegerValue() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
int fd = info[0]->IntegerValue();
^
In file included from /root/.node-gyp/10.14.1/include/node/v8.h:26:0,
from /root/.node-gyp/10.14.1/include/node/node.h:63,
from ../../nan/nan.h:51,
from ../src/unix/pty.cc:20:
/root/.node-gyp/10.14.1/include/node/v8.h:2476:46: note: declared here
V8_DEPRECATED("Use maybe version", int64_t IntegerValue() const);
^
/root/.node-gyp/10.14.1/include/node/v8config.h:324:3: note: in definition of macro ‘V8DEPRECATED’
declarator attribute((deprecated(message)))
^~~~~~
../src/unix/pty.cc:389:48: warning: ‘v8::Local~~~~~
../src/unix/pty.cc: In function ‘void pty_after_waitpid(uv_async_t)’:
../src/unix/pty.cc:489:69: warning: ‘v8::Local
sqlite3@4.0.4 install /root/enigma-bbs/node_modules/sqlite3 node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download [sqlite3] Success: "/root/enigma-bbs/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" is installed via remote
xxhash@0.2.4 install /root/enigma-bbs/node_modules/xxhash node-gyp rebuild
make: Entering directory '/root/enigma-bbs/node_modules/xxhash/build'
CXX(target) Release/obj.target/hash/src/hash.o
In file included from ../../nan/nan_new.h:189:0,
from ../../nan/nan.h:203,
from ../src/common.hpp:6,
from ../src/hash_32.hpp:4,
from ../src/hash.cc:3:
../../nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase~~~~~
In file included from ../src/common.hpp:6:0,
from ../src/hash_32.hpp:4,
from ../src/hash.cc:3:
../../nan/nan.h: In constructor ‘Nan::Utf8String::Utf8String(v8::Local~~~~~
In file included from ../src/hash.cc:3:0:
../src/hash_32.hpp: In static member function ‘static uint32_t Hash32::convert_seed(v8::Local~~~~~
In file included from ../src/hash.cc:4:0:
../src/hash_64.hpp: In static member function ‘static uint64_t Hash64::convert_seed(v8::Local~~~~~
CC(target) Release/obj.target/hash/deps/xxhash/xxhash.o
SOLINK_MODULE(target) Release/obj.target/hash.node
COPY Release/hash.node
make: Leaving directory '/root/enigma-bbs/node_modules/xxhash/build'
node-pty@0.7.4 postinstall /root/enigma-bbs/node_modules/node-pty node scripts/post-install.js
added 329 packages from 300 contributors and audited 2155 packages in 15.774s found 0 vulnerabilities
2018-12-01 19:22:23 npm package installation complete 2018-12-01 19:22:23 ENiGMA½ installation complete!
If this is the first time you've installed ENiGMA½, you now need to generate a minimal configuration. To do so, run the following commands (note: if you did not already have node.js installed, you may need to log out/back in to refresh your path):
cd /root/enigma-bbs ./oputil.js config new
Additionally, the following support binaires are recommended: 7zip: Archive support Debian/Ubuntu : apt-get install p7zip CentOS : yum install p7zip
Lha: Archive support Debian/Ubuntu : apt-get install lhasa
Arj: Archive support Debian/Ubuntu : apt-get install arj
sz/rz: Various X/Y/Z modem support Debian/Ubuntu : apt-get install lrzsz CentOS : yum install lrzsz
See docs for more information!`
Awesome! Above output looks pretty normal. I'm not sure what went wrong before since we don't have the original output though.
I'm gonna guess that not having the proper version of node did it. Enigma seems to be running rather well, albeit a little memory hungry for a 1GB RAM VPS. lol
@k5jat Yeah, Node.js 8.x probably still works, but 10.x is what's supported for 0.0.9-alpha currently. Glad it's working!
For :bug: bug reports, please fill out the information below plus any additional relevant information. If this is a feature request, feel free to clear the form.
Short problem description Crashes on each run of "./oputil.js config new" Honestly, it looks like a wrong version in one of the scripts.
Environment
npm install
oryarn
reports successnode --version
): v6.14.3uname -a
on *nix systems): CentOS Linux release 7.5.1804 (Core) Linux enig.fireballex.com 2.6.32-48-pve #1 SMP Fri Dec 23 10:22:54 CET 2016 x86_64 x86_64 x86_64 GNU/Linuxgit rev-parse --short HEAD
): 154beb5Expected behavior Create initial configuration Actual behavior Crashes with error in screenshot Steps to reproduce New, minimal CentOS 7.x OpenVZ VPS run yum update reboot Install epel and scl repos. Install "Development Tools" Install node and npm Run "curl -o- https://raw.githubusercontent.com/NuSkooler/enigma-bbs/0.0.9-alpha/misc/install.sh | bash" Let it finish installing and whatever else is needs. Run "./oputil.js config new" like the install script says. Crash