cli
cli copied to clipboard
Paths printed by nuxi cannot be opened in VS Code by ctrl + clicking
Environment
- Operating System:
Linux - Node Version:
v16.13.0 - Nuxt Version:
3.0.0-rc.1 - Package Manager:
[email protected] - Builder:
vite - User Config:
target,alias,nitro,ssr,meta,css,tailwindcss,modules,watch,runtimeConfig,build,storybook - Runtime Modules:
@nuxtjs/[email protected],@pinia/[email protected],./modules/storybook - Build Modules:
-
Reproduction
https://gitpod.io/#https://github.com/JabRef/JabRefOnline/pull/1009
Describe the bug
In VS Code, clicking on paths in the terminal output of nuxi converts forward slashes to backward slashes. Given an output such as
yarn run v1.22.17
$ /workspace/JabRefOnline/node_modules/.bin/nuxi build
Nuxt CLI v3.0.0-rc.1 09:52:45
ℹ Merging Tailwind config from ~/tailwind.config.cjs nuxt:tailwindcss 09:52:49
ctrl +clicking on:
-
/workspace/JabRefOnline/node_modules/.bin/nuxi: successfully opensnuxiin the editor -
~/tailwind.config.cjs: VS code opens a file selector prefilled with~\tailwind.config.cjs(not the backward slash). Only after changing\to/, VS is able to find and open the file.
This affects all paths printed by nuxi, also in exceptions and stack traces.
Additional context
No response
Logs
No response