-
-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error [ERR_PACKAGE_PATH_NOT_EXPORTED] #133
Comments
我在我的package.json文件当中加入 |
谢谢! |
Just in case anyone like me couldn't understand our Chinese friend, here's a translation of his message:
Also, the second one simply said:
|
Another way. import { defineConfig } from 'vite';
export default (async () => {
const Markdown = (await import('vite-plugin-md')).default;
return defineConfig({
plugins:[others plugin,Markdown(...yourOption)]
})
})();
|
Renaming |
我vite-plugin-md版本降到0.10.0版本就可以了 |
Translation: I really feel an obligation to do this. |
Describe the bug
failed to load config from ...\vite.config.ts
error when starting dev server:
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in ...\node_modules@yankeeinlondon\happy-wrapper\package.json
help!thanks!
Reproduction
npm
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: