Closed tanwenchao closed 11 months ago
运行 dev:mp-weixin在微信小程序,报错ReferenceError: process is not defined
ReferenceError: process is not defined
System: OS: macOS Mojave 10.14.6 CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz Memory: 37.89 MB / 16.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 18.0.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 9.5.1 - /usr/local/bin/npm pnpm: 8.3.1 - /usr/local/bin/pnpm Watchman: 4.9.0 - /usr/local/bin/watchman Browsers: Chrome: 116.0.5845.187 Safari: 14.1.2
npm
不是本模板的问题~
似乎是你或者你引用的其他库导入了 babel-type
描述问题
运行 dev:mp-weixin在微信小程序,报错ReferenceError: process is not defined
复现
ReferenceError: process is not defined
系统信息
使用的包管理器
npm
核对