Comments (13)
Thanks for the report, we'll have a look into it!
from medusa.
When will this problem be solved? It's urgent.🔥
from medusa.
Hi why we are not getting reply from Medusa team on this ticket?
from medusa.
Hey all, it hasn't been forgotten, it's just a matter of priorities. We'll tackle it as soon as the other, higher priority work, is done.
from medusa.
HI Same issue here, I'm able to open the category and browse the default item inside it http://localhost:9000/app/categories
but when I try to add a new category I'm getting the above error.
please advise
from medusa.
The same bug when you try to create category.
This bug is blocker, please take a look and fix it
from medusa.
@sradevski @shahednasser, Please check the above as it wasn't included in the new release and is a critical fix.
Also kindly note that if you change the category name, it doesn't reflect the new name in the storefront UI
from medusa.
Can we at least have some response as to why it hasn't been assigned? Did you guys forget about it? @sradevski @srindom
from medusa.
Hi all, this problem has already been solved by the community in the Discord channel (https://discord.gg/medusajs):
- Add
vite-plugin-commonjs
as dev dependency - Add this in medusa-config.js
admin: {
// your code
vite: () => ({
plugins: [
commonjs({
filter: (id) => /node_modules\/react-nestable/.test(id),
}),
],
}),
},
from medusa.
Hi all, this problem has already been solved by the community in the Discord channel (https://discord.gg/medusajs):
It doesn't work. Clear medusa preview installation + npm install -D vite-plugin-commonjs
+ change standard medusa-config.js = error when start medusa develop: ReferenceError: commonjs is not defined
medusa-config.js:
import { loadEnv, defineConfig } from '@medusajs/utils'
loadEnv(process.env.NODE_ENV, process.cwd())
module.exports = defineConfig({
projectConfig: {
databaseUrl: process.env.DATABASE_URL,
http: {
storeCors: process.env.STORE_CORS,
adminCors: process.env.ADMIN_CORS,
authCors: process.env.AUTH_CORS,
jwtSecret: process.env.JWT_SECRET || "supersecret",
cookieSecret: process.env.COOKIE_SECRET || "supersecret",
}
},
admin: {
vite: () => ({
plugins: [
commonjs({
filter: (id) => /node_modules\/react-nestable/.test(id),
}),
],
}),
},
});
from medusa.
Hi all, this problem has already been solved by the community in the Discord channel (https://discord.gg/medusajs):
It doesn't work. Clear medusa preview installation +
npm install -D vite-plugin-commonjs
+ change standard medusa-config.js = error when start medusa develop:ReferenceError: commonjs is not defined
medusa-config.js:
import { loadEnv, defineConfig } from '@medusajs/utils' loadEnv(process.env.NODE_ENV, process.cwd()) module.exports = defineConfig({ projectConfig: { databaseUrl: process.env.DATABASE_URL, http: { storeCors: process.env.STORE_CORS, adminCors: process.env.ADMIN_CORS, authCors: process.env.AUTH_CORS, jwtSecret: process.env.JWT_SECRET || "supersecret", cookieSecret: process.env.COOKIE_SECRET || "supersecret", } }, admin: { vite: () => ({ plugins: [ commonjs({ filter: (id) => /node_modules\/react-nestable/.test(id), }), ], }), }, });
Pls add import: import commonjs from 'vite-plugin-commonjs'
from medusa.
Pls add import: import commonjs from 'vite-plugin-commonjs'
Thanks, after I added this - no more error when starting medusa develop, but I still receive error Error: Element type is invalid
when try to edit ranking or create category.
So, unfortunately this solution doesn't work
from medusa.
We expect to land a fix today and publish a new release. Keep an eye out for our releases :)
from medusa.
Related Issues (20)
- npm install package version not found HOT 1
- Fix URL in getPublicOas Function to Correct API Spec Download Path @medusajs/medusa-oas-cli HOT 2
- Single "belongsTo" causes error in digital products example HOT 6
- Issue in Medusa V2 Learning Resources - Unit Price cannot be added during Cart Creation but document says so HOT 3
- Migration failes with exit code 0 HOT 4
- Duplicate customers HOT 2
- Stripe Payments not working HOT 4
- Malformed syntax. 2.0.6-preview HOT 4
- Server running in worker mode doesn't have health HOT 2
- Stripe payments - 'intent' must be a string but got undefined HOT 1
- bug: Promotions - Buy X get Y HOT 11
- Medusa Learning Resources: Issue in B2B Recipe - Medusa Learning Resources
- Incorrect doc link
- ui package breakpoint inconsistency
- Product Tag not saving when edit product. HOT 1
- Error starting server with scheduled jobs due to a new change in bullmq HOT 3
- Medusa v2 Docs: Issue in 3.11. Workflows - Medusa v2 Docs HOT 1
- Omnibus directive compliance
- Docs(Code Issue): Code Issue in /deployments/server/deploying-on-heroku HOT 1
- admin dashboard will be opened in your default browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from medusa.