uniapp 执行小程序时,因引入的有 url-parse 模块,导致报以下错误

    1. 'requires-port' is imported by requires-port?commonjs-external, but could not be resolved treating it as an external dependency
    2. 'querystringify' is imported by querystringify?commonjs-external, but could not be resolved treating it as an external dependency
    3. DONE Build complete. Watching for changes...

    解决方案:
    通过 pnpm i requires-port querystringify 安装下依赖即可