yeomanジェネレータを使用してOfficeアドインを作成しようとしています。私は https://dev.office.com/docs/add-ins/get-started/create-an-office-add-in-using-any-editorの指示に従っています。YeomanオフィスジェネレータがWindows 7でlibxml2 repoをクローン化できない
yo office
を実行すると、次のエラーが発生します。なぜこれが起こっされる可能性があります
d:\Projects\295_Office365ExcelAddin\myHelloWorldaddin>yo office
_-----_ ?──────────────────────────?
| | │ Welcome to the Office │
|--(o)--| │ Project generator, by │
`---------' │ @OfficeDev! Let's create │
(_'U`_) │ a project together! │
/___A___\ /?──────────────────────────?
| ~ |
__'.___.'__
' ` |° ' Y `
? Project name (display name): myHelloWorldaddin
? Root folder of project? Default to current directory
(d:\Projects\295_Office365ExcelAddin\myHelloWorldaddin), or specify relative path
from current (src/public): .
? Office project type: Task Pane Add-in
? Supported Office applications: Excel
? Technology to use: HTML, CSS & JavaScript
create bower.json
create package.json
create tsd.json
create .bowerrc
create gulpfile.js
create content\Office.css
create images\close.png
create images\logo-filled.png
create scripts\MicrosoftAjax.js
create jsconfig.json
create tsconfig.json
create manifest-myhelloworldaddin.xml
create manifest.xsd
create app\app.css
create app\app.js
create app\home\home.html
create app\home\home.css
create app\home\home.js
npm ERR! git submodule -q update --init --recursive: fatal: https://git.gnome.org/libxml2/info/refs?service=git-upload-pack not found: did you run git update-server-info
on the server?
npm ERR! git submodule -q update --init --recursive: Clone of 'git://git.gnome.org/libxml2' into submodule path 'libxml2' failed
npm ERR! git submodule -q update --init --recursive:
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "D:\\ProgramFiles\\nodejs\\node.exe" "D:\\ProgramFiles\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v7.4.0
npm ERR! npm v4.0.5
npm ERR! code 1
npm ERR! Command failed: git -c core.longpaths=true submodule -q update --init --recursive
npm ERR! fatal: https://git.gnome.org/libxml2/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
npm ERR! Clone of 'git://git.gnome.org/libxml2' into submodule path 'libxml2' failed
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! d:\Projects\295_Office365ExcelAddin\myHelloWorldaddin\npm-debug.log
どれ手がかり:
Command failed: git -c core.longpaths=true submodule -q update --init --recursive
fatal: https://git.gnome.org/libxml2/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
Clone of 'git://git.gnome.org/libxml2' into submodule path 'libxml2' failed
ここで完全なログがありますか?
編集: Gitのプロトコルがそのように私は私の.gitconfig
に次のように追加している私の職場でブロックされています。
[url "https://"]
insteadOf = "git://"
私がブラウザでヒットしようとすると、https://git.gnome.org/libxml2が実際にhttps://git.gnome.org//browse/libxml2に解決されます。実行中のgitのバージョンを知っていますか? –
私は 'git submodule sync && git submodule update --init --recursive'を見ただけです。このコマンドはファイアウォール/プロキシの問題があると失敗します。 'cd/tmp/&& git clone git://git.gnome.org/libxml2'でも何かできますか? –
@BethPan私は "git version 1.8.1.msysgit.1"を使用しています – dips