Hi, Nevermind. Just found out that I don't need a port to massage the github repo into an executable.
As root: # pkg install npm As user: $ npm install mongosh $ ./node_modules/.bin/mongosh mongodb://127.0.0.1:27117/ And it all works. Or use "npm install -g mongosh" as root if you trust the sources and need to install it globally. Cheers, Ronald. Van: Ronald Klop <ronald-li...@klop.ws> Datum: donderdag, 23 mei 2024 11:34 Aan: freebsd-po...@freebsd.org Onderwerp: help needed for a nodejs + npm port: mongosh
Hi, I'm trying to port MongoDB Shell to FreeBSD. See the attached Makefile. The build stage starts to fetch some npm packages which is not possible in poudriere. How can I install NPM packages upfront? The Mk/Uses/nodejs.mk file does not mention this and the porters handbook is also pretty limited on nodejs/npm information. A pointer to some existing port as an example would also help. Regards, Ronald.