question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[build] Failing to build on npm

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
laurennlamcommented, Mar 6, 2018

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.

0reactions
NicolasRannoucommented, Jul 30, 2018

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm run build - fails to compile despite development version ...
I have a react app created with create-react-app , and npm run build is failing to compile a production build. It throws the...
Read more >
`npm run build` is failing on CI but runs fine on local machine
Hey I got really weird problem. I use CRA with TypeScript template. I cannot build my app using npm run build on Github...
Read more >
npm install fails in build process - Visual Studio Feedback
I'm using visualstudio.com to store and build my code. My build definition use the "npm" task (version 1.0.15). Since today, the "npm install"...
Read more >
Npm Run Build Failed - Render community
I am deploying my app and the build failed with the following error. Dec 1 04:26:47 PM ==> Cloning from https://github.com/Kelvonetics/workout- ...
Read more >
Build pipeline failed with error 'Error: Npm failed with return code
Build pipeline failed with error 'Error: Npm failed with return code: 254' · # Sample YAML file to validate and export an ARM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found