ami: [build] Failing to build on npm

Ami.js 0.2.0 is failing to build via npm due to:

[ERROR] npm ERR! git submodule -q update --init --recursive: fatal: remote error: access denied or repository not exported: /p/fonttools/code
[ERROR] npm ERR! git submodule -q update --init --recursive: Clone of 'git://git.code.sf.net/p/fonttools/code' into submodule path 'test/ttx/fonttools-code' failed
[ERROR] npm ERR! git submodule -q update --init --recursive: Failed to recurse into submodule path 'ext/pdf.js'
[ERROR] npm ERR! git submodule -q update --init --recursive:
[ERROR] npm ERR! git submodule -q update --init --recursive: fatal: remote error: access denied or repository not exported: /p/fonttools/code
[ERROR] npm ERR! git submodule -q update --init --recursive: Clone of 'git://git.code.sf.net/p/fonttools/code' into submodule path 'test/ttx/fonttools-code' failed
[ERROR] npm ERR! git submodule -q update --init --recursive: Failed to recurse into submodule path 'ext/pdf.js'
[ERROR] npm ERR! git submodule -q update --init --recursive:

I tracked the dependency, it comes from image-JPEG2000

ami.js@0.0.20
│ ├── dicom-parser@1.7.3
│ ├── image-JPEG2000@0.3.1 (git://github.com/ohif/image-JPEG2000.git#ed628f6ef0c505377179ce5c952cd7265c87e065)
│ ├─┬ jpeg-lossless-decoder-js@1.2.3
│ │ ├─┬ browserify@14.5.0
│ │ │ ├─┬ browser-pack@6.0.2

https://github.com/OHIF/image-JPEG2000/blob/master/.gitmodules

which depends on

https://github.com/OHIF/pdf.js/blob/master/.gitmodules

which fails because git://git.code.sf.net/p/fonttools/code doesn’t exist anymore.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 15 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Any other clue if we want to use ami.js in a package.json file ? I can’t use yarn… It seems that this bug isn’t solved in the latest release.