prisma: npm registry not found Primsa

Bug description

I am trying to run npx primsa migrate dev but I am facing below error

PS C:\D\LNode\prisma> npx primsa migrate dev
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/primsa - Not found
npm ERR! 404
npm ERR! 404  'primsa@*' is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in: C:\Users\msi\AppData\Local\npm-cache\_logs\2023-12-02T10_31_43_605Z-debug-0.log

Trying visiting to this URL -> https://registry.npmjs.org/primsa The API response from the endpoint is not found.

Note: The migrate command was working fine 8-9 hours ago

How to reproduce

  1. Install Prisma
  2. Make a basic prisma schema
  3. Try running npx primsa migrate dev
  4. The error will pop

Alternatively Visit - https://registry.npmjs.org/primsa

Expected behavior

No response

Prisma information


generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "mysql"
  url      = env("DATABASE_URL")
}

model User{
  id Int @id @default(autoincrement())
  name String
}
// Add your code using Prisma Client
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()

Environment & setup

  • OS: Windows
  • Database: MySQL
  • Node.js version: v18.17.1

Prisma Version

5.6.0

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 21 (1 by maintainers)

Most upvoted comments

You have a typo there. It’s prisma, not primsa. Note the switched s and m.

I had the same issue and it was exactly a typo! thx

Ladies and gentlemen, it is an honor for me that we are all gathered here today. I made the same mistake.

You have a typo there. It’s prisma, not primsa. Note the switched s and m.

I had the same error. Thanks

OMg is this a bug or something. I had the bug with the exact samy typo too @jensengbg-michele-carmagnani

successfully wasted 2 hours on this damn typo. 😓

People of Primsa! I gather you here today…

I can’t imagine that too many people have fallen for this, take me beside you guys 😂

Same here,thanks google search engine.

Yep, that’s why I’m here.

Yep, me 2. ta.