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

Error installing dependencies for ch2/backend #21

Open
dileep-ehr opened this issue Mar 5, 2024 · 0 comments
Open

Error installing dependencies for ch2/backend #21

dileep-ehr opened this issue Mar 5, 2024 · 0 comments

Comments

@dileep-ehr
Copy link

Getting the following error on running npm install in ch2/backend

`/home/dileep/Documents/projects/Keycloak---Identity-and-Access-Management-for-Modern-Applications-2nd-Edition/ch2/backend/node_modules/chromedriver/install.js:122
const cdnBinariesUrl = (process.env.npm_config_chromedriver_cdnbinariesurl || process.env.CHROMEDRIVER_CDNBINARIESURL)?.replace(//+$/, '');
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
npm WARN keycloak-example-service@0.0.1 No description
npm WARN keycloak-example-service@0.0.1 No repository field.
npm WARN keycloak-example-service@0.0.1 No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: chromedriver@122.0.4 (node_modules/chromedriver):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: chromedriver@122.0.4 install: node install.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1`

Application fails to start after that

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

No branches or pull requests

1 participant