jaeger-ui icon indicating copy to clipboard operation
jaeger-ui copied to clipboard

make build-binaries-linux error

Open wangpu666 opened this issue 3 years ago • 1 comments

Describe the bug

yarn install v1.22.11 [1/4] 🔍 Resolving packages... warning Resolution field "[email protected]" is incompatible with requested version "lodash@^3.10.0" warning Resolution field "[email protected]" is incompatible with requested version "lodash@^3.10.0" warning Resolution field "[email protected]" is incompatible with requested version "parse5@^3.0.1" success Already up-to-date. $ lerna run --stream --sort prepublishOnly node:internal/modules/cjs/loader:936 throw err; ^

Error: Cannot find module '.' Require stack:

  • /Users/wangpu/GolandProjects/jaeger/jaeger-ui/node_modules/.bin/lerna at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:94:18) at Object. (/Users/wangpu/GolandProjects/jaeger/jaeger-ui/node_modules/.bin/lerna:11:3) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) { code: 'MODULE_NOT_FOUND', requireStack: [ '/Users/wangpu/GolandProjects/jaeger/jaeger-ui/node_modules/.bin/lerna' ] } error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. make[1]: *** [jaeger-ui/packages/jaeger-ui/build/index.html] Error 1 make: *** [build-binaries-linux] Error 2

To Reproduce Steps to reproduce the behavior:

  1. cd /Users/wangpu/GolandProjects/jaeger/
  2. make install-tools
  3. make build-binaries-linux

Version (please complete the following information):

  • OS: mac
  • Jaeger version: 1.25
  • go version : 16.6
  • node version : node--16.8.0.big_sur

What troubleshooting steps did you try? Try to follow https://www.jaegertracing.io/docs/latest/troubleshooting/ and describe how far you were able to progress and/or which steps did not work.

Additional context Add any other context about the problem here.

wangpu666 avatar Sep 01 '21 14:09 wangpu666

Did you try

nvm use then delete the node_modules and do yarn and npm start

vvvprabhakar avatar Sep 01 '21 15:09 vvvprabhakar