The hooks module has the same functionality as $(window).on() but it also allows having async filter hooks client side which was not possible with $(window).trigger/on
Installing nobeBB on Dreamhost?
I have been trying to install nodeBB on a dreamhost dedicated server
when I get to the part of the installation instructions to enter the command
$ ./nodebb setup
Fatal error in , line 0
Check failed: reservation_.SetPermissions(protect_start, protect_size, permission).
#FailureMessage Object: 0x3ffeb6ffb60
1: 0xa70671 [node]
2: 0x19d8915 V8_Fatal(char const*, ...) [node]
3: 0xd9197f [node]
4: 0xd9469d v8::internal::PagedSpace::SetReadAndExecutable() [node]
5: 0xcd75b3 v8::internal::Isolate::Init(v8::internal::ReadOnlyDeserializer*, v8::internal::StartupDeserializer*) [node]
6: 0x10b8dee v8::internal::Snapshot::Initialize(v8::internal::Isolate*) [node]
7: 0xb9989d v8::Isolate::Initialize(v8::Isolate*, v8::Isolate::CreateParams const&) [node]
8: 0xa44f81 node::NodeMainInstance::NodeMainInstance(v8::Isolate::CreateParams*, uv_loop_s*, node::MultiIsolatePlatform*, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<unsigned long, std::allocator<unsigned long> > const*) [node]
9: 0x9d4e10 node::Start(int, char**) [node]
10: 0x35dccda0f45 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
11: 0x96ec55 [node]
Is there someone who has done a dreamhost install who can explain to me what you have to do differently for dreeamhost?
I get errors when trying to install mongodb, and I can't tell you if npm is installed... though it's supposed to be. In dreamhost I have it selected along with nodeJS in the initial setup.
I was having the same problem than you. Turns out, you have to run a special command after you installed node if you installed it on a shared server:
setfattr -n user.pax.flags -v "mr" $(find $NVM_DIR -type f -iname "node" -o -iname "npm" -o -iname "npx")
You can read more about this on Dreamhost's support site: