fauna-labs / fauna-schema-migrate

The Fauna Schema Migrate tool helps you set up Fauna resources as code and perform schema migrations.
MIT No Attribution
88 stars 11 forks source link

Package install error #90

Closed bguthrie closed 3 years ago

bguthrie commented 3 years ago

Hi folks—I'm getting the following error when I attempt to install the package:

❯ yarn add @fauna-labs/fauna-schema-migrate
➤ YN0000: ┌ Resolution step
➤ YN0001: │ Error: ink-select-input@github:fauna-labs/ink-select-input: Unknown head ("master")

I suspect it may have been caused by this upstream pull request: https://github.com/fauna-labs/ink-select-input/pull/1

Thanks in advance for any assistance you can provide here—am I missing something?

github-actions[bot] commented 3 years ago

Internal ticket number is LABS-42

rts-rob commented 3 years ago

Thanks for reporting, @bguthrie. You're right - we are in the process of moving all default branches to main - looks like this got caught up in that.

Will resolve shortly.

rts-rob commented 3 years ago

@bguthrie looking at this locally, it seems this may be coming from the yarn lockfile, not the config itself. I am unable to reproduce with a new project running yarn v1.22.10 - it resolves as follows:

"ink-select-input@github:fauna-labs/ink-select-input":
  version "4.2.1"
  resolved "https://codeload.github.com/fauna-labs/ink-select-input/tar.gz/7eb9142a5401bbc492842d0fc26aefa5f07b8f5d"
  dependencies:
    arr-rotate "^1.0.0"
    figures "^3.2.0"
    lodash.isequal "^4.5.0"

What version of yarn/npm/os are you running?

bguthrie commented 3 years ago

Thanks for the quick turnaround, @rts-rob. I'm running yarn 2.4.2 with a couple of discrete workspaces. My local lockfile doesn't contain a reference to fauna-schema-migrate or ink-select-input, which I suppose stands to reason. Will investigate more shortly.

rts-rob commented 3 years ago

Hi @bguthrie - did you get a chance to come back to this? Is it still throwing an error?

Shadid12 commented 3 years ago

99 PR will fix the following issue with all yarn 2.x

rts-rob commented 3 years ago

Fixed in #99 (merged to main)