MobileFirst Platform 8.0 개발을 위해 OS X 시스템을 오프라인으로 설정하려고합니다 (인터넷 액세스 권한 없음). MobileFirst CLI를 설치하지 못했습니다.
저는 this article을 말합니다.
8.0.0.0-MFPF-DevKit-MacOSX-IF2016080923.zip
을 오프라인 컴퓨터에 설치 한 다음 run.sh
및 console.sh
을 설치했습니다.
개발 서버가 성공적으로 시작되었으므로 Operations Console에 액세스 할 수 있습니다.
콘솔에서 mfpdev-cli.tar
을 다운로드하고 위에서 인용 한 기사를 따랐습니다.mfpdev-cli를 오프라인 환경에 설치하는 방법은 무엇입니까?
- 온라인 컴퓨터로
mfpdev-cli.tar
을 복사하십시오. 온라인 시스템에서
,npm --cache ./.cache install mfpdev-cli.tar
- 아카이브 .cache 디렉토리 및 오프라인 시스템에 아카이브 파일을 복사합니다.
- 오프라인 컴퓨터에서
unarchive .cache directory
입니다.
sudo npm install --cache ./.cache ./mfpdev-cli.tar -g
는 그럼, 아래에 있어요 : 많은 다른 패키지
npm ERR! fetch failed https://registry.npmjs.org/http-proxy/-/http-proxy-1.13.2.tgz
npm WARN retry will retry, error on last attempt: Error: getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
그 ERR!
및 WARN
반복.
그리고 마침내 :
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--cache" "./.cache" "./mfpdev-cli.tar" "-g"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR! syscall getaddrinfo
npm ERR! network getaddrinfo ENOTFOUND registry.npmjs.org registry.npmjs.org:443
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly. See: 'npm help config'
npm ERR! Please include the following file with any support request:
npm ERR! /Users/babatch/Downloads/mfpdev-cli/npm-debug.log
어떻게 오프라인 컴퓨터에 mfpdev-cli
를 설치합니까?