You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upon attempting to use unplugin-vue-markdown within my project, I get the following error during build time:
"extname" is not exported by "__vite-browser-external:path", imported by "node_modules/.pnpm/@[email protected]/node_modules/@rollup/pluginutils/dist/es/index.js".
file: node_modules/.pnpm/@[email protected]/node_modules/@rollup/pluginutils/dist/es/index.js:1:9
1: import { extname, win32, posix, isAbsolute, resolve } from 'path';
^
If I add vite-plugin-node-polyfills to my Vite config and polyfill path then I get the following error:
"createRequire" is not exported by "__vite-browser-external:module", imported by "node_modules/.pnpm/[email protected][email protected]/node_modules/unplugin-vue-markdown/dist/chunk-XC4FHL6S.js".
file: node_modules/.pnpm/[email protected][email protected]/node_modules/unplugin-vue-markdown/dist/chunk-XC4FHL6S.js:259:9
259: import { createRequire } from "module";
^
If I then polyfill module I get the following error:
"createRequire" is not exported by "node_modules/.pnpm/[email protected]/node_modules/node-stdlib-browser/esm/mock/empty.js", imported by "node_modules/.pnpm/[email protected][email protected]/node_modules/unplugin-vue-markdown/dist/chunk-XC4FHL6S.js".
file: node_modules/.pnpm/[email protected][email protected]/node_modules/unplugin-vue-markdown/dist/chunk-XC4FHL6S.js:259:9
259: import { createRequire } from "module";
^
How do I get over this roadblock to using unplugin-vue-markdown within my project?
PS this is my current dev stack: Laravel 10 / InertiaJS 1 / VueJS 3 / ViteJS 4 / TailwindCSS 3 / Vitest 0.31 / VitePress 1 / Typescript / SSR / FontAwesome Pro 6 / Ploi.io / Qodana / Cypress / ImgIX / HubSpot / SendGrid / SignEasy / Stripe
Reproduction
would have started a discussion here to get support, but there's no discussion tab here :(
Describe the bug
Upon attempting to use
unplugin-vue-markdown
within my project, I get the following error during build time:If I add
vite-plugin-node-polyfills
to my Vite config and polyfillpath
then I get the following error:If I then polyfill
module
I get the following error:How do I get over this roadblock to using
unplugin-vue-markdown
within my project?PS this is my current dev stack:
Laravel 10
/InertiaJS 1
/VueJS 3
/ViteJS 4
/TailwindCSS 3
/Vitest 0.31
/VitePress 1
/Typescript
/SSR
/FontAwesome Pro 6
/Ploi.io
/Qodana
/Cypress
/ImgIX
/HubSpot
/SendGrid
/SignEasy
/Stripe
Reproduction
would have started a discussion here to get support, but there's no discussion tab here :(
System Info
System: OS: macOS 14.4 CPU: (8) arm64 Apple M1 Pro Memory: 62.33 MB / 16.00 GB Shell: 5.2.15 - /opt/homebrew/bin/bash Binaries: Node: 21.6.2 - /opt/homebrew/bin/node Yarn: 1.22.21 - /opt/homebrew/bin/yarn npm: 10.2.4 - /opt/homebrew/bin/npm pnpm: 8.6.1 - ~/Library/pnpm/pnpm Browsers: Chrome: 122.0.6261.112 Safari: 17.4
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: