medusajs / medusa

The world's most flexible commerce platform.
https://medusajs.com
MIT License
25.92k stars 2.6k forks source link

[Bug]: When will Plugins official work with v2 ? We are so waiting for this update because it's very important to work with MedusaJS project ? #10118

Open trinhcongduc opened 4 hours ago

trinhcongduc commented 4 hours ago

Package.json file

{
  "name": "trustedo-medusas-backend",
  "version": "0.0.1",
  "description": "A TrustedO Medusa source",
  "author": "dukstry.com",
  "license": "MIT",
  "keywords": [
    "sqlite",
    "postgres",
    "typescript",
    "ecommerce",
    "headless",
    "medusa"
  ],
  "scripts": {
    "build": "medusa build",
    "start": "medusa start",
    "dev": "medusa develop",
    "seed": "medusa exec ./src/scripts/seed.ts",
    "test:integration:http": "TEST_TYPE=integration:http NODE_OPTIONS=--experimental-vm-modules jest --silent=false --runInBand --forceExit",
    "test:integration:modules": "TEST_TYPE=integration:modules NODE_OPTIONS=--experimental-vm-modules jest --silent --runInBand --forceExit",
    "test:unit": "TEST_TYPE=unit NODE_OPTIONS=--experimental-vm-modules jest --silent --runInBand --forceExit",
    "migrate:contentful": "./src/loaders/contentful-migrations/index.ts",
    "import:contentful": "contentful space import --space-id $CONTENTFUL_SPACE_ID --mt $CONTENTFUL_ACCESS_TOKEN --content-file  ./data/contentful-seed.json",

  },
  "dependencies": {
    "@faker-js/faker": "^9.2.0",
    "@medusajs/admin-sdk": "latest",
    "@medusajs/cli": "latest",
    "@medusajs/event-bus-redis": "^2.0.4",
    "@medusajs/framework": "latest",
    "@medusajs/medusa": "latest",
    "@medusajs/workflow-engine-redis": "^2.0.4",
    "@mikro-orm/core": "5.9.7",
    "@mikro-orm/knex": "5.9.7",
    "@mikro-orm/migrations": "5.9.7",
    "@mikro-orm/postgresql": "5.9.7",
    "awilix": "^8.0.1",
    "medusa-file-minio": "^1.3.2",
    "medusa-payment-manual": "^1.0.25",
    "medusa-payment-stripe": "^6.0.11",
    "medusa-plugin-contentful": "^1.2.12",
    "medusa-plugin-meilisearch": "^2.0.11",
    "pg": "^8.13.0",
    "typeorm": "^0.3.20"
  },
  "devDependencies": {
    "@medusajs/test-utils": "latest",
    "@mikro-orm/cli": "5.9.7",
    "@swc/core": "1.5.7",
    "@swc/jest": "^0.2.36",
    "@types/jest": "^29.5.13",
    "@types/node": "^20.0.0",
    "@types/react": "^18.3.2",
    "@types/react-dom": "^18.2.25",
    "contentful-migration": "^4.26.1",
    "jest": "^29.7.0",
    "prop-types": "^15.8.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "ts-node": "^10.9.2",
    "typescript": "^5.6.2",
    "vite": "^5.2.11"
  },
  "engines": {
    "node": ">=20"
  }
}

Node.js version

v21.7.3

Database and its version

17.0

Operating system name and version

MacOS

Browser name

No response

What happended?

Plugins do not work with medusajs v2.

Expected behavior

Plugins work

Actual behavior

Not work

Link to reproduction repo

https://github.com/trinhcongduc/medusajs-demo

christiananese commented 2 hours ago

Hey @trinhcongduc, it looks like you linked a private repo.

Can you elaborate a little bit on your use case and what you are trying to build?

trinhcongduc commented 1 hour ago

Hi @christiananese , It same issue i reported here : https://github.com/medusajs/medusa/issues/10038 I am trying to connect my app with some libraries but it seems not work . And, i also always get this warning :

image