Wpis z mikrobloga

Idzie dostać #!$%@? z tym npm.

Jak pobrać określony release z githuba?
Próbowałem pobrać bootstrapa v4 w wesji Alpha4 bo w alfie 5 coś #!$%@? z kolumnami i naprawią to dopiero w alfie6

Próbuję to robić tak że w packages.json po # daje nazwe

"dependencies": {

"bootstrap": "https://github.com/twbs/bootstrap#v4.0.0-alpha.4"

}


No i nie działa a powinno działać...

npm WARN addRemoteGit Error: Command failed: git -c core.longpaths=true config --get remote.origin.url
>npm WARN addRemoteGit
>npm WARN addRemoteGit at ChildProcess.exithandler (child_process.js:206:12)
>npm WARN addRemoteGit at emitTwo (events.js:106:13)
>npm WARN addRemoteGit at ChildProcess.emit (events.js:191:7)
>npm WARN addRemoteGit at maybeClose (internal/child_process.js:852:16)
>npm WARN addRemoteGit at Socket. (internal/child_process.js:323:11)
>npm WARN addRemoteGit at emitOne (events.js:96:13)
>npm WARN addRemoteGit at Socket.emit (events.js:188:7)
>npm WARN addRemoteGit at Pipe._handle.close [as _onclose] (net.js:492:12)
>npm WARN addRemoteGit git+[https://github.com/twbs/bootstrap.git#v4.0.0-alpha.4](https://github.com/twbs/bootstrap.git#v4.0.0-alpha.4) resetting remote >_git-remotes\git-https-github-com-twbs-bootstrap-git-v4-0-0-alpha-4->78465f40 because of error: { Error: Command failed: git -c core.longpaths=true config --get remote.origin.url


za to kiedy dam tam nazwe brancha (np v4-dev) to już działa. Ale co z tego skoro pobiera najnowszy release.

#nodejs #bootstrap #npm
  • 2