mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-09 02:18:32 +00:00
12 lines
349 B
Bash
Executable File
12 lines
349 B
Bash
Executable File
#!/bin/sh
|
|
|
|
npm install --global node-gyp@7.0.0
|
|
|
|
if [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "msys" ]; then
|
|
npm config set node_gyp "`npm prefix -g`\node_modules\node-gyp\bin\node-gyp.js"
|
|
else
|
|
npm config set node_gyp "`npm prefix -g`/lib/node_modules/node-gyp/bin/node-gyp.js"
|
|
fi
|
|
|
|
echo "npm config get node_gyp -> `npm config get node_gyp`"
|