Commit 3a165d87 by Dane Springmeyer

try to fix npm error: No compatible version found: mkdirp@'^0.5.0'

parent 3fcc5f2f
...@@ -26,6 +26,8 @@ matrix: ...@@ -26,6 +26,8 @@ matrix:
os: osx os: osx
before_install: before_install:
# work around old npm problem with ^
- if [[ "${NODE_VERSION}" == '0.8' ]]; then npm install npm -g; fi
# check if tag exists and matches package.json # check if tag exists and matches package.json
- scripts/validate_tag.sh - scripts/validate_tag.sh
......
...@@ -48,7 +48,7 @@ else ...@@ -48,7 +48,7 @@ else
# need to update to avoid 404 for linux-libc-dev_3.2.0-64.97_amd64.deb # need to update to avoid 404 for linux-libc-dev_3.2.0-64.97_amd64.deb
sudo apt-get update sudo apt-get update
# prepare packages for 32-bit builds on Linux # prepare packages for 32-bit builds on Linux
sudo apt-get -y install gcc-multilib g++-multilib libx11-6:i386 libxtst6:i386 libcap2:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libatk1.0-0:i386 libgdk-pixbuf2.0-0:i386 libcairo2:i386 libfreetype6:i386 libfontconfig1:i386 libxcomposite1:i386 libasound2:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libnss3:i386 libnspr4:i386 libgconf-2-4:i386 libexpat1:i386 libdbus-1-3:i386 libudev0:i386 sudo apt-get -y install gcc-multilib g++-multilib libx11-6:i386 libnotify4:i386 libxtst6:i386 libcap2:i386 libglib2.0-0:i386 libgtk2.0-0:i386 libatk1.0-0:i386 libgdk-pixbuf2.0-0:i386 libcairo2:i386 libfreetype6:i386 libfontconfig1:i386 libxcomposite1:i386 libasound2:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libnss3:i386 libnspr4:i386 libgconf-2-4:i386 libexpat1:i386 libdbus-1-3:i386 libudev0:i386
# also use ldd to find out if some necessary apt-get is missing # also use ldd to find out if some necessary apt-get is missing
ldd $(pwd)/${NW_DOWNLOAD}/nw ldd $(pwd)/${NW_DOWNLOAD}/nw
CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source ${GYP_ARGS} CC=gcc-4.6 CXX=g++-4.6 npm install --build-from-source ${GYP_ARGS}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment