-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed as not planned
Description
📜 Description
can't run command
npm run setup:project
👟 Reproduction steps
- windows 11
- node (tried different versions 22, 20, 18) via nvm
- 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 pnpm@9.11.0 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 rimraf@3.0.2
apps/inbound-mail | WARN deprecated sinon@9.2.4
apps/inbound-mail | WARN deprecated mailparser@0.6.2
Downloading react-icons@5.4.0: 22,22 MB/22,22 MB, done
apps/api | WARN deprecated shortid@2.2.16
apps/web | WARN deprecated @babel/polyfill@7.12.1
apps/web | WARN deprecated @babel/plugin-proposal-optional-chaining@7.21.0
apps/web | WARN deprecated react-flow-renderer@10.3.17
apps/web | WARN deprecated xterm@5.3.0
apps/web | WARN deprecated xterm-addon-fit@0.7.0
Downloading antd@4.24.16: 8,75 MB/8,75 MB, done
apps/ws | WARN deprecated @types/socket.io@3.0.2
libs/application-generic | WARN deprecated codecov@3.8.3
libs/application-generic | WARN deprecated @opentelemetry/exporter-collector@0.25.0
libs/automation | WARN deprecated verdaccio@5.33.0
libs/embed | WARN deprecated rimraf@2.7.1
libs/embed | WARN deprecated rollup-plugin-terser@7.0.2
libs/embed | WARN deprecated rollup-plugin-commonjs@10.1.0
libs/embed | WARN deprecated rollup-plugin-json@4.0.0
Downloading aws-sdk@2.1692.0: 11,79 MB/11,79 MB, done
Downloading next@13.5.8: 17,57 MB/17,57 MB, done
packages/providers | WARN deprecated @bandwidth/messaging@4.1.7
packages/providers | WARN deprecated sms77-client@2.27.0
WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
Downloading @swc/core-win32-x64-msvc@1.10.7: 16,75 MB/16,75 MB, done
Downloading ace-builds@1.37.4: 10,00 MB/10,00 MB, done
Downloading @next/swc-win32-x64-msvc@13.5.8: 39,24 MB/39,24 MB, done
Downloading @img/sharp-win32-x64@0.33.5: 8,18 MB/8,18 MB, done
WARN 126 deprecated subdependencies found: @babel/plugin-proposal-class-properties@7.18.6, @babel/plugin-proposal-nullish-coalescing-operator@7.18.6, @babel/plugin-proposal-numeric-separator@7.18.6, @babel/plugin-proposal-private-methods@7.18.6, @babel/plugin-proposal-private-property-in-object@7.21.11, @hapi/address@2.1.4, @hapi/formula@1.2.0, @hapi/hoek@8.5.1, @hapi/joi@16.1.8, @hapi/pinpoint@1.0.2, @hapi/topo@3.1.6, @humanwhocodes/config-array@0.13.0, @humanwhocodes/object-schema@2.0.3, @lerna/add@5.6.2, @lerna/bootstrap@5.6.2, @lerna/changed@5.6.2, @lerna/check-working-tree@5.6.2, @lerna/clean@5.6.2, @lerna/cli@5.6.2, @lerna/collect-uncommitted@5.6.2, @lerna/collect-updates@5.6.2, @lerna/command@5.6.2, @lerna/conventional-commits@5.6.2, @lerna/create-symlink@5.6.2, @lerna/describe-ref@5.6.2, @lerna/diff@5.6.2, @lerna/exec@5.6.2, @lerna/filter-options@5.6.2, @lerna/filter-packages@5.6.2, @lerna/get-npm-exec-opts@5.6.2, @lerna/get-packed@5.6.2, @lerna/github-client@5.6.2, @lerna/gitlab-client@5.6.2, @lerna/global-options@5.6.2, @lerna/has-npm-version@5.6.2, @lerna/import@5.6.2, @lerna/info@5.6.2, @lerna/init@5.6.2, @lerna/link@5.6.2, @lerna/list@5.6.2, @lerna/listable@5.6.2, @lerna/log-packed@5.6.2, @lerna/npm-conf@5.6.2, @lerna/npm-dist-tag@5.6.2, @lerna/npm-install@5.6.2, @lerna/npm-publish@5.6.2, @lerna/npm-run-script@5.6.2, @lerna/otplease@5.6.2, @lerna/output@5.6.2, @lerna/pack-directory@5.6.2, @lerna/package-graph@5.6.2, @lerna/package@5.6.2, @lerna/prerelease-id-from-version@5.6.2, @lerna/profiler@5.6.2, @lerna/project@5.6.2, @lerna/prompt@5.6.2, @lerna/publish@5.6.2, @lerna/pulse-till-done@5.6.2, @lerna/query-graph@5.6.2, @lerna/resolve-symlink@5.6.2, @lerna/rimraf-dir@5.6.2, @lerna/run-lifecycle@5.6.2, @lerna/run-topologically@5.6.2, @lerna/run@5.6.2, @lerna/symlink-binary@5.6.2, @lerna/symlink-dependencies@5.6.2, @lerna/temp-write@5.6.2, @lerna/timer@5.6.2, @lerna/validation-error@5.6.2, @lerna/version@5.6.2, @lerna/write-log-file@5.6.2, @npmcli/move-file@2.0.1, @opentelemetry/api-metrics@0.25.0, @opentelemetry/sdk-metrics-base@0.25.0, @types/ioredis@5.0.0, @vonage/vetch@1.8.0, abab@2.0.6, acorn-import-assertions@1.9.0, are-we-there-yet@2.0.0, are-we-there-yet@3.0.1, argv@0.0.2, build-url@1.3.3, core-js@2.6.12, debuglog@1.0.1, domexception@2.0.1, domexception@4.0.0, fsevents@1.2.13, gauge@3.0.2, gauge@4.0.4, glob@6.0.4, glob@7.1.4, glob@7.1.6, glob@7.2.3, glob@8.0.3, glob@8.1.0, google-p12-pem@3.1.4, google-p12-pem@4.0.1, inflight@1.0.6, mimelib@0.3.1, npmlog@5.0.1, npmlog@6.0.2, popper.js@1.16.1, q@1.5.1, querystring@0.2.0, querystring@0.2.1, read-package-json@5.0.2, readdir-scoped-modules@1.1.0, resolve-url@0.2.1, right-pad@1.0.1, rimraf@2.4.5, rimraf@2.6.3, shikiji-core@0.9.19, shikiji@0.9.19, source-map-resolve@0.5.3, source-map-resolve@0.6.0, source-map-url@0.4.1, sourcemap-codec@1.4.8, stable@0.1.8, subscriptions-transport-ws@0.11.0, superagent@8.1.2, svgo@1.3.2, urix@0.1.0, uuid@3.4.0, w3c-hr-time@1.0.2, workbox-cacheable-response@6.6.0, workbox-google-analytics@6.6.0
Packages: +6274
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Downloading react-email@3.0.6: 17,04 MB/17,04 MB, done
Downloading next@15.1.2: 25,32 MB/25,32 MB, done
Downloading @next/swc-win32-x64-msvc@15.1.2: 56,83 MB/56,83 MB, done
Progress: resolved 6332, reused 4310, downloaded 1722, added 6274, done
node_modules/.pnpm/@swc+core@1.10.7_@swc+helpers@0.5.15/node_modules/@swc/core: Running postinstall script...
node_modules/.pnpm/@clerk+shared@2.20.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@clerk/shared: Running node_modules/.pnpm/@clerk+shared@2.20.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@clerk/shared: Running node_modules/.pnpm/@swc+core@1.10.7_@swc+helpers@0.5.15/node_modules/@swc/core: Running postinstall script, done in 4.1snode_modules/.pnpm/@sentry+profiling-node@8.48.0/node_modules/@sentry/profiling-node: Running install script, done in 1.node_modules/.pnpm/@sentry+cli@2.39.1_encoding@0.1.13/node_modules/@sentry/cli: Running postinstall script, done in 1.5s
node_modules/.pnpm/@newrelic+native-metrics@11.0.0/node_modules/@newrelic/native-metrics: Running install script, done in 378ms
node_modules/.pnpm/@nestjs+core@10.4.1_@nestjs+common@10.4.1_class-transformer@0.5.1_class-validator@0.14.1_refl_arvk5acnode_modules/.pnpm/@nestjs+core@10.4.1_@nestjs+common@10.4.1_class-transformer@0.5.1_class-validator@0.14.1_refl_arvk5acnode_modules/.pnpm/bcrypt@5.0.1_encoding@0.1.13/node_modules/bcrypt: Running install script, done in 5.9s
node_modules/.pnpm/msgpackr-extract@3.0.3/node_modules/msgpackr-extract: Running install script, done in 412ms
node_modules/.pnpm/@scarf+scarf@1.4.0/node_modules/@scarf/scarf: Running postinstall script, done in 3.2s
node_modules/.pnpm/sharp@0.32.6/node_modules/sharp: Running install script, done in 4s
node_modules/.pnpm/core-js-pure@3.40.0/node_modules/core-js-pure: Running postinstall script, done in 173ms
node_modules/.pnpm/cypress@13.17.0/node_modules/cypress: Running postinstall script...
node_modules/.pnpm/iframe-resizer@4.4.5/node_modules/iframe-resizer: Running postinstall script, done in 136ms
node_modules/.pnpm/protobufjs@7.2.6/node_modules/protobufjs: Running postinstall script, done in 138ms
node_modules/.pnpm/nestjs-pino@4.1.0_@nestjs+common@10.4.1_class-transformer@0.5.1_class-validator@0.14.1_reflec_nftllyjnode_modules/.pnpm/cypress@13.17.0/node_modules/cypress: Running postinstall script, done in 2m 51.3s
node_modules/.pnpm/nestjs-pino@4.1.0_@nestjs+common@10.4.1_class-transformer@0.5.1_class-validator@0.14.1_reflec_nftllyjrnd2356p6xeppmkp3om/node_modules/nestjs-pino: Running postinstall script, done in 5.1s
node_modules/.pnpm/core-js@3.37.1/node_modules/core-js: Running postinstall script, done in 145ms
node_modules/.pnpm/aws-sdk@2.1692.0/node_modules/aws-sdk: Running postinstall script, done in 111ms
node_modules/.pnpm/husky@1.3.1/node_modules/husky: Running install script, done in 2.2s
node_modules/.pnpm/esbuild@0.24.2/node_modules/esbuild: Running postinstall script, done in 1.1s
node_modules/.pnpm/@sveltejs+kit@1.30.4_svelte@4.2.19_vite@5.4.11_@types+node@20.17.12_less@4.2.1_lightningcss@1_x3ti2venode_modules/.pnpm/@sveltejs+kit@1.30.4_svelte@4.2.19_vite@5.4.11_@types+node@20.17.12_less@4.2.1_lightningcss@1_x3ti2vedy7p6jv5vjjcshs74se/node_modules/@sveltejs/kit: Running postinstall script, done in 17s
node_modules/.pnpm/protobufjs@7.2.4/node_modules/protobufjs: Running postinstall script, done in 167ms
node_modules/.pnpm/sharp@0.33.5/node_modules/sharp: Running install script, done in 174ms
node_modules/.pnpm/@parcel+watcher@2.0.4/node_modules/@parcel/watcher: Running install script, done in 461ms
node_modules/.pnpm/core-js@3.40.0/node_modules/core-js: Running postinstall script, done in 133ms
node_modules/.pnpm/pprof@4.0.0_encoding@0.1.13/node_modules/pprof: Running install script...
node_modules/.pnpm/nx@20.1.2_@swc-node+register@1.8.0_@swc+core@1.3.107_@swc+helpers@0.5.15__@swc+types@0.1.17_t_epb5346oj2oc76q2pk7r4fniui/node_modules/nx: Running postinstall script...
node_modules/.pnpm/pprof@4.0.0_encoding@0.1.13/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 node-pre-gyp@1.0.11
│ node-pre-gyp info using node@22.13.0 | 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\pprof@4.0.0_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 pprof@4.0.0 and node@22.13.0 (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 node-gyp@11.0.0
│ gyp info using node@22.13.0 | win32 | x64
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@11.0.0
│ gyp info using node@22.13.0 | 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\pprof@4.0.0_encoding@0.1.13\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\pprof@4.0.0_encoding@0.1.13\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\pprof@4.0.0_encoding@0.1.13\node_modules\pprof
node_modules/.pnpm/nx@20.1.2_@swc-node+register@1.8.0_@swc+core@1.3.107_@swc+helpers@0.5.15__@swc+types@0.1.17_t_epb5346oj2oc76q2pk7r4fniui/node_modules/nx: Running postinstall script, done in 3.6s
node_modules/.pnpm/nx@15.9.7_@swc-node+register@1.8.0_@swc+core@1.3.107_@swc+helpers@0.5.15__@swc+types@0.1.17_t_bb34zhclko2du753i7e4drxaji/node_modules/nx: Running postinstall script, done in 3.3s
node_modules/.pnpm/nx@20.3.0_@swc-node+register@1.8.0_@swc+core@1.3.107_@swc+helpers@0.5.15__@swc+types@0.1.17_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?
- I have read the Contributing Guidelines
Are you willing to submit PR?
None
Metadata
Metadata
Assignees
Labels
No labels