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

pnpm install failed, Ubuntu 22.04.2 #191

Open
giacomobg opened this issue Apr 9, 2024 · 0 comments
Open

pnpm install failed, Ubuntu 22.04.2 #191

giacomobg opened this issue Apr 9, 2024 · 0 comments

Comments

@giacomobg
Copy link

Running pnpm install I am getting a failed install, on Ubuntu 22.04.2, using Node v18.16.0, pnpm v8.2.0.

I can see that node-pre-gyp is deprecated and replaced by @mapbox/node-pre-gyp, not sure if the problem is related to fontnik using the deprecated package.

Logs below. I jus wanna make some fonts :(

   TOUCH Release/obj.target/action_before_build.stamp
│   CXX(target) Release/obj.target/fontnik/src/node_fontnik.o
│ <command-line>: error: "_GLIBCXX_USE_CXX11_ABI" redefined
│ <command-line>: note: this is the location of the previous definition
│ make: *** [fontnik.target.mk:156: Release/obj.target/fontnik/src/node_fontnik.o] Error 1
│ make: Leaving directory '/home/giacomo/Documents/prog/projects/maps/fonts/node_modules/.pnpm/[email protected]/node_modules/fontnik/build'
│ gyp ERR! build error 
│ gyp ERR! stack Error: `make` failed with exit code: 2
│ gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/lib/build.js:203:23)
│ gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
│ gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
│ gyp ERR! System Linux 6.5.0-26-generic
│ gyp ERR! command "/home/giacomo/.nvm/versions/node/v18.16.0/bin/node" "/usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build=true" "--module=/home/
│ gyp ERR! cwd /home/giacomo/Documents/prog/projects/maps/fonts/node_modules/.pnpm/[email protected]/node_modules/fontnik
│ gyp ERR! node -v v18.16.0
│ gyp ERR! node-gyp -v v9.3.1
│ gyp ERR! not ok 
│ node-pre-gyp ERR! build error 
│ node-pre-gyp ERR! stack Error: Failed to execute '/home/giacomo/.nvm/versions/node/v18.16.0/bin/node /usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-bu
│ node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/giacomo/Documents/prog/projects/maps/fonts/node_modules/.pnpm/[email protected]/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
│ node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
│ node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1091:16)
│ node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:302:5)
│ node-pre-gyp ERR! System Linux 6.5.0-26-generic
│ node-pre-gyp ERR! command "/home/giacomo/.nvm/versions/node/v18.16.0/bin/node" "/home/giacomo/Documents/prog/projects/maps/fonts/node_modules/.pnpm/[email protected]/node_modules/node-pre-gyp/bin/n
│ node-pre-gyp ERR! cwd /home/giacomo/Documents/prog/projects/maps/fonts/node_modules/.pnpm/[email protected]/node_modules/fontnik
│ node-pre-gyp ERR! node -v v18.16.0
│ node-pre-gyp ERR! node-pre-gyp -v v0.14.0
│ node-pre-gyp ERR! not ok 
│ Failed to execute '/home/giacomo/.nvm/versions/node/v18.16.0/bin/node /usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build=true --module=/home/giacomo
└─ Failed in 1m 33.2s at /home/giacomo/Documents/prog/projects/maps/fonts/node_modules/.pnpm/[email protected]/node_modules/fontnik
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

1 participant