问题遇到的现象和发生背景
<script lang="ts" setup>
import { globby } from 'globby';
const paths = await globby(['*', '!cake']);
console.log(paths);
</script>
These dependencies were not found:
* node:fs in ./node_modules/globby/index.js
* node:path in ./node_modules/globby/index.js
* node:process in ./node_modules/globby/ignore.js
* node:stream in ./node_modules/globby/utilities.js
* node:url in ./node_modules/globby/utilities.js