Skip to content

Unable to install v4 #65

@gitmalong

Description

@gitmalong

npm install @minswap/sdk@latest

npm error code E404
npm error 404 Not Found - GET https://registry.npmjs.org/@jsr%2fspacebudz__lucid - Not found
npm error 404
npm error 404 '@jsr/spacebudz__lucid@^0.20.4' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /Users/user/.npm/_logs/2025-02-15T10_39_09_830Z-debug-0.log

Another error after I installed the jsr package manually

npm install prisma --save-dev
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '@minswap/sdk@0.4.0',
npm warn EBADENGINE   required: { node: '>=20.17 <21' },
npm warn EBADENGINE   current: { node: 'v23.7.0', npm: '10.9.2' }
npm warn EBADENGINE }
npm error code 1
npm error path /Users/user/Code/cardano-butterbrot/node_modules/@minswap/sdk
npm error command failed
npm error command sh -c prisma generate
npm error Error: Could not load schema from `src/syncer/postgres/prisma/schema.prisma` provided by "prisma.schema" config of `package.json`: file or directory not found

package.json

{
  "type": "module",
  "dependencies": {
    "@blockfrost/blockfrost-js": "^6.0.0",
    "@minswap/sdk": "^0.4.0",
    "@spacebudz/lucid": "npm:@jsr/spacebudz__lucid@^0.20.5",
    "@sundaeswap/core": "^1.3.47",
    "cardano-wallet-js": "^1.4.0"
  },
  "devDependencies": {
    "@types/node": "^16.11.7",
    "ts-node": "^10.4.0",
    "typescript": "^5.7.3"
  },
  "scripts": {
    "build": "tsc",
    "start": "ts-node src/index.ts"
  },
  "main": "dist/index.js",
  "engines": {
    "node": "=23.7.0"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions