[英]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
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.