We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eab0fe2 commit 7d82303Copy full SHA for 7d82303
Makefile
@@ -1176,6 +1176,9 @@ endif
1176
pkgbuild --version $(FULLVERSION) \
1177
--identifier org.nodejs.node.pkg \
1178
--root $(MACOSOUTDIR)/dist/node $(MACOSOUTDIR)/pkgs/node-$(FULLVERSION).pkg
1179
+ mkdir -p $(MACOSOUTDIR)/dist/npm/usr/local/bin
1180
+ ln -sf ../lib/node_modules/npm/bin/npm-cli.js $(MACOSOUTDIR)/dist/npm/usr/local/bin/npm
1181
+ ln -sf ../lib/node_modules/npm/bin/npx-cli.js $(MACOSOUTDIR)/dist/npm/usr/local/bin/npx
1182
pkgbuild --version $(NPMVERSION) \
1183
--identifier org.nodejs.npm.pkg \
1184
--root $(MACOSOUTDIR)/dist/npm \
tools/macos-installer/pkgbuild/npm/scripts/postinstall
0 commit comments