在 Windows 8.1 x64 上安装 Node-Mapnik 时出错
Getting Error When Installing Node-Mapnik on Windows 8.1 x64
为什么我每次尝试在计算机上安装 node-mapnik 时都会收到此错误消息。我使用 windows 8.1 x64.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Adi Arta Wibawa\
\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "mapnik@3.
x"
npm ERR! node v4.1.0
npm ERR! npm v3.3.3
npm ERR! code ELIFECYCLE
npm ERR! mapnik@3.4.7 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mapnik@3.4.7 install script 'node-pre-gyp install --fallb
ack-to-build'.
npm ERR! This is most likely a problem with the mapnik package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls mapnik
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\WebDev\ProjectOne\npm-debug.log
我应该怎么做才能解决这个问题?
问题可能在于使用最新版本的 Node.js。
试试这个 https://nodejs.org/dist/v0.10.36/node-v0.10.36-x86.msi
为什么我每次尝试在计算机上安装 node-mapnik 时都会收到此错误消息。我使用 windows 8.1 x64.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Users\Adi Arta Wibawa\
\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install" "mapnik@3.
x"
npm ERR! node v4.1.0
npm ERR! npm v3.3.3
npm ERR! code ELIFECYCLE
npm ERR! mapnik@3.4.7 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the mapnik@3.4.7 install script 'node-pre-gyp install --fallb
ack-to-build'.
npm ERR! This is most likely a problem with the mapnik package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls mapnik
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\WebDev\ProjectOne\npm-debug.log
我应该怎么做才能解决这个问题?
问题可能在于使用最新版本的 Node.js。 试试这个 https://nodejs.org/dist/v0.10.36/node-v0.10.36-x86.msi