Replies: 8 comments 13 replies
-
same thing happening to me |
Beta Was this translation helpful? Give feedback.
-
I got rid of all the other warnings like 'path' and 'url' using pollyfills, except for 'source-map-js' |
Beta Was this translation helpful? Give feedback.
-
same here not even using one of these beside path for the routing |
Beta Was this translation helpful? Give feedback.
-
Hey dude I've researched my code base inch by inch and discovered that's
the issue is not in vite its in some stupid vscode auto import made so
search your code for any suspicious import from fo or what ever in my case
I was import put from process somehow no need to play with the alias and
the package file hopefully this will help you
…On Mon, Mar 4, 2024, 9:05 AM Preet Sojitra ***@***.***> wrote:
Hey, can you please tell in which file I have to put this alias? By using
polyfill all warning are removed except this "source-map-js".
—
Reply to this email directly, view it on GitHub
<#14966 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2J537Y2UGEVCF6QGP2QGALYWQFKDAVCNFSM6AAAAAA7IUQ2GWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMNRSGQZTG>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I found that the error was occurring due to an incorrect import statement generated by VS Code auto-import |
Beta Was this translation helpful? Give feedback.
-
Yeah that's what I found
…On Mon, Mar 4, 2024, 9:59 PM Chaitanya girgaonkar ***@***.***> wrote:
I found that the error was occurring due to an incorrect import statement
generated by VS Code auto-import
import { data } from 'autoprefixer';
I removed the incorrect import statement, and the warning disappeared.
—
Reply to this email directly, view it on GitHub
<#14966 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2J537YGMCGAZCWQPST5NYLYWTABZAVCNFSM6AAAAAA7IUQ2GWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DMNZQHA2TA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
import { data } from "autoprefixer"; |
Beta Was this translation helpful? Give feedback.
-
anything related to autoprefixer or postcss import is causing this problem, vs code auto imported some how these imports. I have removed all the imports related to this, and the problem is solved. |
Beta Was this translation helpful? Give feedback.
-
Module "source-map-js" has been externalized for browser compatibility. Cannot access "source-map-js.SourceMapConsumer" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:source-map-js:9
node_modules/postcss/lib/map-generator.js @ map-generator.js:3
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:source-map-js:9 Module "source-map-js" has been externalized for browser compatibility. Cannot access "source-map-js.SourceMapGenerator" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:source-map-js:9
node_modules/postcss/lib/map-generator.js @ map-generator.js:3
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.dirname" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:path:9
node_modules/postcss/lib/map-generator.js @ map-generator.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.relative" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:path:9
node_modules/postcss/lib/map-generator.js @ map-generator.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.resolve" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:path:9
node_modules/postcss/lib/map-generator.js @ map-generator.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.sep" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:path:9
node_modules/postcss/lib/map-generator.js @ map-generator.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:url:9 Module "url" has been externalized for browser compatibility. Cannot access "url.pathToFileURL" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:url:9
node_modules/postcss/lib/map-generator.js @ map-generator.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:source-map-js:9 Module "source-map-js" has been externalized for browser compatibility. Cannot access "source-map-js.SourceMapConsumer" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:source-map-js:9
node_modules/postcss/lib/input.js @ input.js:3
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:source-map-js:9 Module "source-map-js" has been externalized for browser compatibility. Cannot access "source-map-js.SourceMapGenerator" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:source-map-js:9
node_modules/postcss/lib/input.js @ input.js:3
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:url:9 Module "url" has been externalized for browser compatibility. Cannot access "url.fileURLToPath" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:url:9
node_modules/postcss/lib/input.js @ input.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:url:9 Module "url" has been externalized for browser compatibility. Cannot access "url.pathToFileURL" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:url:9
node_modules/postcss/lib/input.js @ input.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.isAbsolute" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:path:9
node_modules/postcss/lib/input.js @ input.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.resolve" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:path:9
node_modules/postcss/lib/input.js @ input.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:source-map-js:9 Module "source-map-js" has been externalized for browser compatibility. Cannot access "source-map-js.SourceMapConsumer" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:source-map-js:9
node_modules/postcss/lib/previous-map.js @ previous-map.js:3
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/input.js @ input.js:10
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:source-map-js:9 Module "source-map-js" has been externalized for browser compatibility. Cannot access "source-map-js.SourceMapGenerator" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:source-map-js:9
node_modules/postcss/lib/previous-map.js @ previous-map.js:3
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/input.js @ input.js:10
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:fs:9 Module "fs" has been externalized for browser compatibility. Cannot access "fs.existsSync" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:fs:9
node_modules/postcss/lib/previous-map.js @ previous-map.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/input.js @ input.js:10
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:fs:9 Module "fs" has been externalized for browser compatibility. Cannot access "fs.readFileSync" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:fs:9
node_modules/postcss/lib/previous-map.js @ previous-map.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/input.js @ input.js:10
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.dirname" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
get @ browser-external:path:9
node_modules/postcss/lib/previous-map.js @ previous-map.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/input.js @ input.js:10
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/map-generator.js @ map-generator.js:7
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/lazy-result.js @ lazy-result.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/postcss/lib/postcss.js @ postcss.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/utils.js @ utils.js:1
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/browsers.js @ browsers.js:4
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
node_modules/autoprefixer/lib/autoprefixer.js @ autoprefixer.js:5
__require @ chunk-ROME4SDB.js?v=21e93a3e:11
(匿名) @ autoprefixer.js:164
browser-external:path:9 Module "path" has been externalized for browser compatibility. Cannot access "path.join" in client code. See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.
I did not use path or fs in my project, and I don't understand why this error occurred
"vue": "^3.3.4",
"vite": "^4.4.6",
Beta Was this translation helpful? Give feedback.
All reactions