Hi Using “@nocobase/plugin-theme-editor” it works in dev “yarn dev” but not in prod “yarn build → yarn start”
Does anyone know how to fix this ?
Hi Using “@nocobase/plugin-theme-editor” it works in dev “yarn dev” but not in prod “yarn build → yarn start”
Does anyone know how to fix this ?
It looks like a dependency issue, you can try reinstalling the dependency.
Recommended steps:
yarn install
yarn build
yarn start
Hey, it seems like the issue might not be related to dependencies. I encountered a problem with the plugin from the GitHub repository GitHub - nocobase/nocobase: NocoBase is a scalability-first, open-source no-code/low-code platform for building business applications and enterprise solutions.. When added via command or built as a tar and then imported, it results in an error in production only. However, it works fine in the development environment. I tried installing it on a different machine with the same result.
So, the question is: why does the plugin work in the package that’s installed in the node_modules
, but the GitHub variant doesn’t?
The issue @Khaled reported doesn’t seem to be the same as the one you mentioned.
Your problem description is also quite vague. Could you please provide:
Thanks.
1:i have the exact same error
2: @nocobase/plugin-theme-editor
3:docker
4:1.0.0
5:building the plugin from the github and adding in anyway either as folder or as tar