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

🐛 Bug Report: #7488

Closed
2 tasks done
shooter01 opened this issue Jan 12, 2025 · 2 comments
Closed
2 tasks done

🐛 Bug Report: #7488

shooter01 opened this issue Jan 12, 2025 · 2 comments

Comments

@shooter01
Copy link

📜 Description

can't run command
npm run setup:project

👟 Reproduction steps

  1. windows 11
  2. node (tried different versions 22, 20, 18) via nvm
  3. npm run setup:project

👍 Expected behavior

npm run setup:project ends without error

👎 Actual Behavior with Screenshots

PS C:\Users\redmi\work\test22\nove\novu> npm run setup:project

> setup:project
> npx --yes [email protected] i && node scripts/setup-env-files.js && pnpm build

 WARN  Unsupported engine: wanted: {"node":">=20 <21"} (current: {"node":"v22.13.0","pnpm":"9.11.0"})
Scope: all 38 workspace projects
apps/dashboard                           |  WARN  deprecated [email protected]
apps/inbound-mail                        |  WARN  deprecated [email protected]
apps/inbound-mail                        |  WARN  deprecated [email protected]
Downloading [email protected]: 22,22 MB/22,22 MB, done
apps/api                                 |  WARN  deprecated [email protected]
apps/web                                 |  WARN  deprecated @babel/[email protected]
apps/web                                 |  WARN  deprecated @babel/[email protected]
apps/web                                 |  WARN  deprecated [email protected]
apps/web                                 |  WARN  deprecated [email protected]
apps/web                                 |  WARN  deprecated [email protected]
Downloading [email protected]: 8,75 MB/8,75 MB, done
apps/ws                                  |  WARN  deprecated @types/[email protected]
libs/application-generic                 |  WARN  deprecated [email protected]
libs/application-generic                 |  WARN  deprecated @opentelemetry/[email protected]
libs/automation                          |  WARN  deprecated [email protected]
libs/embed                               |  WARN  deprecated [email protected]
libs/embed                               |  WARN  deprecated [email protected]
libs/embed                               |  WARN  deprecated [email protected]
libs/embed                               |  WARN  deprecated [email protected]
Downloading [email protected]: 11,79 MB/11,79 MB, done
Downloading [email protected]: 17,57 MB/17,57 MB, done
packages/providers                       |  WARN  deprecated @bandwidth/[email protected]
packages/providers                       |  WARN  deprecated [email protected]
 WARN  deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
Downloading @swc/[email protected]: 16,75 MB/16,75 MB, done
Downloading [email protected]: 10,00 MB/10,00 MB, done
Downloading @next/[email protected]: 39,24 MB/39,24 MB, done
Downloading @img/[email protected]: 8,18 MB/8,18 MB, done
 WARN  126 deprecated subdependencies found: @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @babel/[email protected], @hapi/[email protected], @hapi/[email protected], @hapi/[email protected], @hapi/[email protected], @hapi/[email protected], @hapi/[email protected], @humanwhocodes/[email protected], @humanwhocodes/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @lerna/[email protected], @npmcli/[email protected], @opentelemetry/[email protected], @opentelemetry/[email protected], @types/[email protected], @vonage/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Packages: +6274
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Downloading [email protected]: 17,04 MB/17,04 MB, done
Downloading [email protected]: 25,32 MB/25,32 MB, done
Downloading @next/[email protected]: 56,83 MB/56,83 MB, done
Progress: resolved 6332, reused 4310, downloaded 1722, added 6274, done
node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@swc/core: Running postinstall script...
node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@clerk/shared: Running node_modules/.pnpm/@[email protected][email protected][email protected][email protected]/node_modules/@clerk/shared: Running node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@swc/core: Running postinstall script, done in 4.1snode_modules/.pnpm/@[email protected]/node_modules/@sentry/profiling-node: Running install script, done in 1.node_modules/.pnpm/@[email protected][email protected]/node_modules/@sentry/cli: Running postinstall script, done in 1.5s
node_modules/.pnpm/@[email protected]/node_modules/@newrelic/native-metrics: Running install script, done in 378ms
node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_refl_arvk5acnode_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_refl_arvk5acnode_modules/.pnpm/[email protected][email protected]/node_modules/bcrypt: Running install script, done in 5.9s
node_modules/.pnpm/[email protected]/node_modules/msgpackr-extract: Running install script, done in 412ms
node_modules/.pnpm/@[email protected]/node_modules/@scarf/scarf: Running postinstall script, done in 3.2s
node_modules/.pnpm/[email protected]/node_modules/sharp: Running install script, done in 4s
node_modules/.pnpm/[email protected]/node_modules/core-js-pure: Running postinstall script, done in 173ms
node_modules/.pnpm/[email protected]/node_modules/cypress: Running postinstall script...
node_modules/.pnpm/[email protected]/node_modules/iframe-resizer: Running postinstall script, done in 136ms
node_modules/.pnpm/[email protected]/node_modules/protobufjs: Running postinstall script, done in 138ms
node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]_reflec_nftllyjnode_modules/.pnpm/[email protected]/node_modules/cypress: Running postinstall script, done in 2m 51.3s
node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]_reflec_nftllyjrnd2356p6xeppmkp3om/node_modules/nestjs-pino: Running postinstall script, done in 5.1s
node_modules/.pnpm/[email protected]/node_modules/core-js: Running postinstall script, done in 145ms
node_modules/.pnpm/[email protected]/node_modules/aws-sdk: Running postinstall script, done in 111ms
node_modules/.pnpm/[email protected]/node_modules/husky: Running install script, done in 2.2s
node_modules/.pnpm/[email protected]/node_modules/esbuild: Running postinstall script, done in 1.1s
node_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected]_lightningcss@1_x3ti2venode_modules/.pnpm/@[email protected][email protected][email protected]_@[email protected][email protected]_lightningcss@1_x3ti2vedy7p6jv5vjjcshs74se/node_modules/@sveltejs/kit: Running postinstall script, done in 17s
node_modules/.pnpm/[email protected]/node_modules/protobufjs: Running postinstall script, done in 167ms
node_modules/.pnpm/[email protected]/node_modules/sharp: Running install script, done in 174ms
node_modules/.pnpm/@[email protected]/node_modules/@parcel/watcher: Running install script, done in 461ms
node_modules/.pnpm/[email protected]/node_modules/core-js: Running postinstall script, done in 133ms
node_modules/.pnpm/[email protected][email protected]/node_modules/pprof: Running install script...
node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__@[email protected]_t_epb5346oj2oc76q2pk7r4fniui/node_modules/nx: Running postinstall script...
node_modules/.pnpm/[email protected][email protected]/node_modules/pprof: Running install script, failed in 15s0.1.17_t_bb34zhc
.../node_modules/pprof install$ node-pre-gyp install --fallback-to-build
│ node-pre-gyp info it worked if it ends with ok
│ node-pre-gyp info using [email protected]
│ node-pre-gyp info using [email protected] | win32 | x64
│ (node:20764) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative i…
│ (Use `node --trace-deprecation ...` to show where the warning was created)
│ node-pre-gyp info check checked for "C:\Users\redmi\work\test22\nove\novu\node_modules\.pnpm\[email protected]_encoding@0…
│ node-pre-gyp http GET https://storage.googleapis.com/cloud-profiler/pprof-nodejs/release/v4.0.0/node-v127-win32-x64…
│ node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/cloud-profiler/pprof-node…
│ node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v127 ABI, unknown) (fal…
│ node-pre-gyp WARN Hit error response status 404 Not Found on https://storage.googleapis.com/cloud-profiler/pprof-no…
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | win32 | x64
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | win32 | x64
│ gyp info find Python using Python version 3.13.1 found at "C:\Users\redmi\AppData\Local\Programs\Python\Python313\p…
│ gyp ERR! find VS
│ gyp ERR! find VS msvs_version not set from command line or npm config
│ gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
│ gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel sill…
│ gyp ERR! find VS
│ gyp ERR! find VS Failure details: undefined
│ gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel sill…
│ gyp ERR! find VS
│ gyp ERR! find VS Failure details: undefined
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
│ gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
│ gyp ERR! find VS
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS You need to install the latest version of Visual Studio
│ gyp ERR! find VS including the "Desktop development with C++" workload.
│ gyp ERR! find VS For more information consult the documentation at:
│ gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS
│ gyp ERR! configure error
│ gyp ERR! stack Error: Could not find any Visual Studio installation to use
│ gyp ERR! stack at VisualStudioFinder.fail (C:\Users\redmi\AppData\Roaming\nvm\v22.13.0\node_modules\npm\node_module…
│ gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\redmi\AppData\Roaming\nvm\v22.13.0\node_modules\npm…
│ gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
│ gyp ERR! stack at async createBuildDir (C:\Users\redmi\AppData\Roaming\nvm\v22.13.0\node_modules\npm\node_modules\n…
│ gyp ERR! stack at async run (C:\Users\redmi\AppData\Roaming\nvm\v22.13.0\node_modules\npm\node_modules\node-gyp\bin…
│ gyp ERR! System Windows_NT 10.0.22631
│ gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\redmi\\AppData\\Roaming\\nvm\\v22.13.0\\node_mod…
│ gyp ERR! cwd C:\Users\redmi\work\test22\nove\novu\node_modules\.pnpm\[email protected][email protected]\node_modules\pprof
│ gyp ERR! node -v v22.13.0
│ gyp ERR! node-gyp -v v11.0.0
│ gyp ERR! not ok
│ node-pre-gyp ERR! build error
│ node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\redmi\AppData\Roaming\n…
│ node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\redmi\work\test22\nove\novu\node_modules\.pnpm\@m…
│ node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:524:28)
│ node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1101:16)
│ node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
│ node-pre-gyp ERR! System Windows_NT 10.0.22631
│ node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\redmi\\work\\test22\\nove\\novu\\node_m…
│ node-pre-gyp ERR! cwd C:\Users\redmi\work\test22\nove\novu\node_modules\.pnpm\[email protected][email protected]\node_modu…
│ Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\redmi\AppData\Roaming\nvm\v22.13.0\node_modules\npm\no…
│ node-pre-gyp ERR! node -v v22.13.0
│ node-pre-gyp ERR! node-pre-gyp -v v1.0.11
│ node-pre-gyp ERR! not ok
└─ Failed in 15s at C:\Users\redmi\work\test22\nove\novu\node_modules\.pnpm\[email protected][email protected]\node_modules\pprof
node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__@[email protected]_t_epb5346oj2oc76q2pk7r4fniui/node_modules/nx: Running postinstall script, done in 3.6s
node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__@[email protected]_t_bb34zhclko2du753i7e4drxaji/node_modules/nx: Running postinstall script, done in 3.3s
node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__@[email protected]_t_neutatmsksmrznww5g2u3mslay/node_modules/nx: Running postinstall script...
 ELIFECYCLE  Command failed with exit code 1.

Novu version

latest

npm version

10.5.0

node version

v21.7.3

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to submit PR?

None

Copy link

linear bot commented Jan 12, 2025

NV-5168 🐛 Bug Report:

@SokratisVidros
Copy link
Contributor

Hi @shooter01. As far as I can tell, the stack trace comes from Node v22, which is not officially supported yet. Did you try with Node 20 or Node 21?

@SokratisVidros SokratisVidros closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2025
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

2 participants