Jump to content

Unable to host node.js application


Recommended Posts

 Hi 

I am new to helio hosting and i am trying to host my application on tommy2 , but i am unable to host.
I have installed node modules and it was a success , but when i try to start my node application it is giving the following error
 

# npm run start
Process exited with non-zero exit code '1'

> server@1.0.0 start
> node index.js


node:internal/modules/cjs/loader:1183
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/maneeshsandra.helioho.st/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node)
    at Object.Module._extensions..node (node:internal/modules/cjs/loader:1183:18)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Object.<anonymous> (/home/maneeshsandra.helioho.st/node_modules/bcrypt/bcrypt.js:6:16)
    at Module._compile (node:internal/modules/cjs/loader:1099:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12) {
  code: 'ERR_DLOPEN_FAILED'
}

Node.js v17.9.1

 

Link to comment
Share on other sites

We don't offer SSH access on the free service, so not being able to access that is by design. You have to have a VPS for that.

As for the node error, if you're getting that error on Tommy, I'm not the most familiar with it, but I'd start by making sure the module CXXABI is installed. The error you posted is basically a module not found error. Also, is the app designed to run under node 17? If not, you can change the node version in plesk.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...