기본 콘텐츠로 건너뛰기

meteorite package에 d3.js를 올렸다.

http://meteor.com/authcast 를 보면서
벡터그래픽을 마치 DOM처럼 쓰는 게 너무 맘에 들어서 https://atmosphere.meteor.com/ 에 올려야겠다는 생각이 들었음.

https://gist.github.com/3327056 와 https://atmosphere.meteor.com/wtf/package
내용 참조해서 https://github.com/acidsound/d3js-package 이런걸 올리긴 했는데

submodule 을 처음 써봐서 삽질 좀 했다.
js 라이브러리의 경로를 잘못써서 몇가지를 수정하고 올리려고 했더니

/usr/local/lib/node_modules/meteorite/lib/atmosphere.js:82
          throw "This tag has already been committed to the repo.";
          ^
This tag has already been committed to the repo.
이런 오류가 나서 소스를 열어보았다.



80      exec('git tag', function (err, stdout, stderr) {
81        if (stdout.indexOf(versionName) >= 0)
82          throw "This tag has already been committed to the repo.";

versionName 이 뭔가 쫓아가보았더니 smart.json 에서 지정한 "version".
뭐 암튼 release 할때 "version" 키의 값에 "v"를 앞에 붙여서 tag를 만들기 때문에
git tag -d "v<해당버전이름>" 해서 지우고 다시 하니 잘되더라.
내 경우엔 git tag -d v0.5.0 했음.

어 근데 메인 패키지에 d3 가 있네?
근데 지우는 방법을 모르겠네. 소스 지우는 부분이 딱히 없구만;
두고두고 창피할 거리가 하나 생겼네. 다음에 잘하면 되지뭐.

댓글

  1. https://atmosphere.meteor.com/package/bootstrap-datepicker
    달력 관련 패키지도 없길레 하나 돌돌 말아서 올림. 그나마 이건 좀 쓸만하겠네.

    답글삭제

댓글 쓰기

이 블로그의 인기 게시물

세상 간단한 https(+secured websocket): Caddy

nginx, apache2 같은 걸로 매번 certbot 연동을 통해 https 하는게 지겨워서 알아보니 Caddy라는게 있더라. 설치법은 강하게 크기 위해 알아서 해본다. # cat /etc/caddy/Caddyfile your.shitty.site:8123 {   proxy / localhost:9123 {     websocket     transparent   } } 이건 외부에서 8123으로 들어오는 걸 내부적으로 9123로 맞춰서 https 맞춰주는 reverse proxy. 만일 port를 생략하면 # cat /etc/caddy/Caddyfile your.shitty.site {   proxy / localhost:9123 {     websocket     transparent   } } 기본포트인 443으로 되어 https://your.shitty.site 로 접속이 된다. 요새 말썽이던 cloudflare 버리고 netlify domain이랑 caddy를 쓰니까 앓던 이가 빠진 느낌. 이 조합은 당분간 계속 써야겠다 싶다.

저지연 오디오 생성 LLVC 사용기

https://github.com/KoeAI/LLVC 써봄 CUDA 11.8 버전 쓰고 있어 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 VC 없어서 설치 https://wikidocs.net/168848 참조 FAIRSEQ 관련 오류 https://github.com/facebookresearch/fairseq/issues/2908 pip install editdistance  설치 No CUDA runtime is found, using CUDA_HOME='C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8' 오류 멀쩡하게 있는데 안됨. pip install torch==2.1.0+cu118 torchvision==0.16.0+cu118 torchaudio==2.1.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118 다시 설치 set DISTUTILS_USE_SDK=1 이게 문젠가 설정하고 재도전 Using cached ruamel.yaml.clib-0.2.8-cp311-cp311-win_amd64.whl (118 kB) Building wheels for collected packages: fairseq   Building wheel for fairseq (pyproject.toml) ... error   error: subprocess-exited-with-error   × Building wheel for fairseq (pyproject.toml) did not run successfully.   │ exit code: 1   ╰─> [1829 lines of output]       No CUDA runtime is found, usi...