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.

Broken internal dependencies in 2.0.1

See original GitHub issue
  • has-reproduction
  • feature
  • docs
  • blocking
  • good first issue

I’m working specifically with apollo-server-hapi. As of the 2.0.1 release that pushed to npm today (commit ef82add05b1dc7c28b4f8a2c5341cf81a7fc76f2), it depends on local file directories for dependencies in its package.json.

As a result:

❯ yarn install
yarn install v1.7.0
[1/5] Validating package.json...
[2/5] Resolving packages...
error Package "apollo-server-core" refers to a non-existing file '"<my-file-path/>\\apollo-server-core"'.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
obsessencommented, Aug 14, 2018

I have the same problems while installing vue-cli which has it as a dependancy.

Yarn:

[1/4] 🔍  Resolving packages...
error Package "apollo-server-core" refers to a non-existing file '"~/.config/yarn/apollo-server-core"'.
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.

npm:

npm ERR! code ENOLOCAL
npm ERR! Could not install from "../../usr/local/lib/node_modules/@vue/cli/node_modules/apollo-server-core" as it does not contain a package.json file.

npm ERR! A complete log of this run can be found in:
npm ERR!    ~/.npm/_logs/2018-08-14T18_37_09_923Z-debug.log
1reaction
tobobocommented, Aug 14, 2018

Installing apollo-server-core@2.0.0 works fine, only the latest apollo-server-core@2.0.1 is broken

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix dependencies / broken packages - Ask Ubuntu
Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to ...
Read more >
How to resolve broken dependencies in cabal? - Stack Overflow
The standard technique is to tell cabal that you don't mind reinstalling the packages that would be broken. You can do this with...
Read more >
Unable to fix broken dipendencies - Unix Stack Exchange
I tried removing the packages manually but that throws yet another error: The following packages have unmet dependencies. evolution-data-server ...
Read more >
dnf calls weak dependencies "Skipping packages with broken ...
"Skipping packages with broken dependencies" is plain nonsense for many months now and i see several threads on the devellist that this affects...
Read more >
Changelog - Pagination - Atlaskit by Atlassian
Patch Changes. cd34d8ca8ea - Internal wiring up to the tokens techstack, no code changes. Updated dependencies. 14.0.4.
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