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: #7509

Open
2 tasks done
shooter01 opened this issue Jan 15, 2025 · 1 comment
Open
2 tasks done

🐛 Bug Report: #7509

shooter01 opened this issue Jan 15, 2025 · 1 comment
Labels

Comments

@shooter01
Copy link

📜 Description

I am trying to follow the steps in this tutorial

https://docs.novu.co/community/run-in-local-machine

but error occured

👟 Reproduction steps

  1. git clone https://github.com/novuhq/novu.git
  2. cd novu && npm run setup:project

👍 Expected behavior

npm run setup:project ends without error

👎 Actual Behavior with Screenshots

root@shooter:~/novu/novu# npm run setup:project

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

Scope: all 38 workspace projects
apps/api                                 |  WARN  deprecated [email protected]
apps/api                                 |  WARN  deprecated [email protected]
apps/api                                 |  WARN  deprecated [email protected]
apps/inbound-mail                        |  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]
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]
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.
 WARN  deprecated [email protected]: this version is deprecated, please migrate to 6.x versions
 WARN  135 deprecated subdependencies found: @azure/[email protected], @azure/[email protected], @azure/[email protected], @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], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Packages: +7303
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 6999, reused 6729, downloaded 0, added 183, done
node_modules/.pnpm/[email protected][email protected]/node_modules/bcrypt: Running install script, done in 479ms
node_modules/.pnpm/[email protected][email protected]/node_modules/pprof: Running install script...
node_modules/.pnpm/[email protected][email protected]/node_modules/pprof: Running install script, failed in 2.2s0.1.12__rbavgyr
.../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] | linux | x64
│ node-pre-gyp info check checked for "/root/novu/novu/node_modules/.pnpm/[email protected][email protected]/node_modules/pp…
│ node-pre-gyp http GET https://storage.googleapis.com/cloud-profiler/pprof-nodejs/release/v4.0.0/node-v115-linux-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-v115 ABI, glibc) (falli…
│ 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] | linux | x64
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | linux | x64
│ gyp info find Python using Python version 3.10.12 found at "/usr/bin/python3"
│ gyp info spawn /usr/bin/python3
│ gyp info spawn args [
│ gyp info spawn args '/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
│ gyp info spawn args 'binding.gyp',
│ gyp info spawn args '-f',
│ gyp info spawn args 'make',
│ gyp info spawn args '-I',
│ gyp info spawn args '/root/novu/novu/node_modules/.pnpm/[email protected][email protected]/node_modules/pprof/build/config…
│ gyp info spawn args '-I',
│ gyp info spawn args '/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
│ gyp info spawn args '-I',
│ gyp info spawn args '/root/.cache/node-gyp/20.16.0/include/node/common.gypi',
│ gyp info spawn args '-Dlibrary=shared_library',
│ gyp info spawn args '-Dvisibility=default',
│ gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/20.16.0',
│ gyp info spawn args '-Dnode_gyp_dir=/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/node-gyp',
│ gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/20.16.0/<(target_arch)/node.lib',
│ gyp info spawn args '-Dmodule_root_dir=/root/novu/novu/node_modules/.pnpm/[email protected][email protected]/node_modules/…
│ gyp info spawn args '-Dnode_engine=v8',
│ gyp info spawn args '--depth=.',
│ gyp info spawn args '--no-parallel',
│ gyp info spawn args '--generator-output',
│ gyp info spawn args 'build',
│ gyp info spawn args '-Goutput_dir=.'
│ gyp info spawn args ]
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | linux | x64
│ gyp ERR! build error
│ gyp ERR! stack Error: not found: make
│ gyp ERR! stack at getNotFoundError (/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/which/lib/i…
│ gyp ERR! stack at which (/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/which/lib/index.js:77:…
│ gyp ERR! stack at async doWhich (/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/node-gyp/lib/b…
│ gyp ERR! stack at async loadConfigGypi (/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/node-gy…
│ gyp ERR! stack at async build (/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/node-gyp/lib/bui…
│ gyp ERR! stack at async run (/root/.nvm/versions/node/v20.16.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-…
│ gyp ERR! System Linux 5.15.0-122-generic
│ gyp ERR! command "/root/.nvm/versions/node/v20.16.0/bin/node" "/root/.nvm/versions/node/v20.16.0/lib/node_modules/n…
│ gyp ERR! cwd /root/novu/novu/node_modules/.pnpm/[email protected][email protected]/node_modules/pprof
│ gyp ERR! node -v v20.16.0
│ gyp ERR! node-gyp -v v10.1.0
│ gyp ERR! not ok
│ node-pre-gyp ERR! build error
│ node-pre-gyp ERR! stack Error: Failed to execute '/root/.nvm/versions/node/v20.16.0/bin/node /root/.nvm/versions/no…
│ node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/root/novu/novu/node_modules/.pnpm/@mapbox+node-pre-gyp@1.…
│ node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
│ node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1105:16)
│ node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
│ node-pre-gyp ERR! System Linux 5.15.0-122-generic
│ node-pre-gyp ERR! command "/root/.nvm/versions/node/v20.16.0/bin/node" "/root/novu/novu/node_modules/.pnpm/@mapbox+…
│ node-pre-gyp ERR! cwd /root/novu/novu/node_modules/.pnpm/[email protected][email protected]/node_modules/pprof
│ node-pre-gyp ERR! node -v v20.16.0
│ node-pre-gyp ERR! node-pre-gyp -v v1.0.10
│ node-pre-gyp ERR! not ok
│ Failed to execute '/root/.nvm/versions/node/v20.16.0/bin/node /root/.nvm/versions/node/v20.16.0/lib/node_modules/np…
└─ Failed in 2.2s at /root/novu/novu/node_modules/.pnpm/[email protected][email protected]/node_modules/pprof
node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]__@[email protected]__rbavgyroguolp34cuptgwwlkfu/node_modules/nx: Running postinstall script...
 ELIFECYCLE  Command failed with exit code 1.

Novu version

latest

npm version

10.8.1

node version

v20.16.0

📃 Provide any additional context for the Bug.

I tried it on Linux and Windows

👀 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 15, 2025

NV-5189 🐛 Bug Report:

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

No branches or pull requests

1 participant