Skip to content
This repository has been archived by the owner on Oct 9, 2022. It is now read-only.

chore: replace outdated @prisma/cli #21

Merged
merged 3 commits into from
Apr 11, 2021
Merged

chore: replace outdated @prisma/cli #21

merged 3 commits into from
Apr 11, 2021

Conversation

itkach
Copy link
Contributor

@itkach itkach commented Apr 1, 2021

Currently depending on prisma-schema-transformer 0.6.0 causes @prisma/cli to be pulled in which results in yarn install failing with this error:

error /Users/itkach/dev/lotau/bff/node_modules/@prisma/cli: Command failed.
Exit code: 1
Command: node scripts/preinstall-entry.js
Arguments:
Directory: /Users/itkach/dev/lotau/bff/node_modules/@prisma/cli
Output:
┌─────────────────────────────────────────────────────────────────────────────┐
│                                                                             │
│     The package @prisma/cli has been renamed to prisma.                     │
│                                                                             │
│     Please uninstall @prisma/cli first.                                     │
│     Then install prisma to continue using Prisma CLI:                       │
│                                                                             │
│         # Uninstall old CLI                                                 │
│         yarn remove @prisma/cli                                             │
│                                                                             │
│         # Install new CLI                                                   │
│         npm install prisma --save-dev                                       │
│                                                                             │
│         # Invoke via npx                                                    │
│         npx prisma --help                                                   │
│                                                                             │

Depending on "prisma" instead of @prisma/cli resolves the issue

@michaellzc michaellzc changed the title Use 'prisma' instead of @prisma/cli chore: replace outdated @prisma/cli Apr 11, 2021
@michaellzc michaellzc merged commit 233f44c into IBM:master Apr 11, 2021
@michaellzc michaellzc mentioned this pull request Apr 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants