-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed at nodent-runtime install script #191
Comments
As an additional note im setting this up on CentOS 7 |
Hi, @JumpyWizard404 I tested clean install on CentOS:7 DockerImage, and it succeeded.
|
i followed the manually installation steps from https://github.com/ServerCentral/praeco from the bottom of the page. I am avoiding in using docker in setting this up as our production private cloud environment does not use docker. |
I see. Did you run
I’m wondering why permission denied is happening. |
ive checked both node -V 13.9.0 npm -v 6.13.7 i also installed and set elastalert and elastalert-server by using python and pythonpip 3 instead of 2 and yes i ran everything as root. |
@johnsusek It seems to be problem with dependency packages. @JumpyWizard404
But, error occured by other reason? In any case, it seems to be problem with dependency packages.
I succeeded with nodejs v12(LTS) in previous comment. How about using LTS?
|
I have not tested with node 13. Manual installation is unsupported (that doesn't mean it won't work, it just means I don't have the time to help fix issues). I would highly recommend using the docker image or an environment close to the docker image. |
@JumpyWizard404 try to execute npm install as non root user |
You need to install the build tools on your machine to build node-sass:
|
Added the manual installation method to the README. |
Hello Everyone i have been triying to set up praeco using manuall install procedure. Ive managed to get to the step npm install in the praeco directory but the following issue happens:
Error: EACCES: permission denied, open '/etc/praeco/node_modules/nodent-runtime/dist/index.js'
at Object.openSync (fs.js:461:3)
at Object.writeFileSync (fs.js:1302:35)
at Object. (/etc/praeco/node_modules/nodent-runtime/build.js:5:4)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
at internal/main/run_main_module.js:17:47 {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/etc/praeco/node_modules/nodent-runtime/dist/index.js'
}
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/vue-native-websocket/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! nodent-runtime@3.2.1 install:
node build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the nodent-runtime@3.2.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-03-03T14_30_37_982Z-debug.log
When i look at the directory the dir nodent-runtime does not exit. can anyone point me in the right direction? Any help woould be appreciated
The text was updated successfully, but these errors were encountered: