openid / AppAuth-JS

JavaScript client SDK for communicating with OAuth 2.0 and OpenID Connect providers.
Apache License 2.0
975 stars 162 forks source link

Unable to run npm i with npm version 8 and nodejs v16 #223

Open Hoang-Minh opened 1 year ago

Hoang-Minh commented 1 year ago

Expected Behavior

Install all dependencies properly

[REQUIRED] Describe expected behavior

All the node pacakges in package.json must be installed properly

Describe the problem

Unable to run command npm i

[REQUIRED] Actual Behavior

... 1654 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:63:27) 1654 verbose stack at ChildProcess.emit (node:events:527:28) 1654 verbose stack at maybeClose (node:internal/child_process:1092:16) 1654 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5) 1655 verbose pkgid @openid/appauth@1.3.1 1656 verbose cwd C:\AppAuth-JS 1657 verbose Windows_NT 10.0.22621 1658 verbose node v16.16.0 1659 verbose npm v8.11.0 1660 error code 1 1661 error path C:\AppAuth-JS 1662 error command failed 1663 error command C:\WINDOWS\system32\cmd.exe /d /s /c npm run-script --silent build-app 1664 verbose exit 1 1665 timing npm Completed in 18065ms 1666 verbose code 1 1667 error A complete log of this run can be found in: 1667 error C:\Users\minhv\AppData\Local\npm-cache_logs\2023-04-05T12_49_22_141Z-debug-0.log

[REQUIRED] Steps to reproduce the behavior

  1. Git clone the project
  2. run npm i

    [REQUIRED] Environment

    • AppAuth-JS version: latest
    • AppAuth-JS Environment (Node, Browser (UserAgent), ...): Npm version 8, Nodejs version 16
    • Source code snippts (inline or JSBin)
node-traversal commented 10 months ago

Is this project being maintained? Or at least open to pull requests? As mentioned the node version required for the project appears to be quite old as is the package lock and many of the dependencies have vulnerabilities.