Skip to content
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

Set Database URL with Credentials #15

Open
XRG-IT opened this issue Feb 2, 2021 · 0 comments
Open

Set Database URL with Credentials #15

XRG-IT opened this issue Feb 2, 2021 · 0 comments

Comments

@XRG-IT
Copy link

XRG-IT commented Feb 2, 2021

Hello

Thank you for sharing this! Where do we set the database URL? After I run npm install in the digital-signage directory on a Linux box I was able view the contents within the folder via a browser. Not sure if I'm doing something wrong either. Logs below

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/bin/npm', 'run', 'dev' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'predev', 'dev', 'postdev' ]
5 info lifecycle [email protected]predev: [email protected]
6 info lifecycle [email protected]
dev: [email protected]
7 verbose lifecycle [email protected]dev: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
dev: PATH: /usr/lib/node_modules/npm/node_modules/n$
9 verbose lifecycle [email protected]dev: CWD: /var/www/html/digital-signage
10 silly lifecycle [email protected]
dev: Args: [ '-c', 'ENVIRON=DEV node server.js' ]
11 silly lifecycle [email protected]dev: Returned: code: 1 signal: null
12 info lifecycle [email protected]
dev: Failed to exec dev script
13 verbose stack Error: [email protected] dev: ENVIRON=DEV node server.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm$
13 verbose stack at emitTwo (events.js:106:13)
13 verbose stack at EventEmitter.emit (events.js:191:7)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm$
13 verbose stack at emitTwo (events.js:106:13)
13 verbose stack at ChildProcess.emit (events.js:191:7)
13 verbose stack at maybeClose (internal/child_process.js:920:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)
14 verbose pkgid [email protected]
15 verbose cwd /var/www/html/digital-signage
16 verbose Linux 4.14.214-160.339.amzn2.x86_64
17 verbose argv "/usr/bin/node" "/bin/npm" "run" "dev"
18 verbose node v6.17.1
19 verbose npm v6.14.11
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] dev: ENVIRON=DEV node server.js
22 error Exit status 1
23 error Failed at the [email protected] dev script.
23 error This is probably not a problem with npm. There is likely additional logging output $
24 verbose exit [ 1, true ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant