-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in browser: process
is not defined
#29
Comments
+1 |
The problem was solved when I used |
1 |
安装process
vite.config.ts中配置注入process安装@rollup/plugin-inject yarn add @rollup/plugin-inject -D plugins里面加入 import inject from '@rollup/plugin-inject'
inject({
process: 'process/browser'
}) |
我的那个 is
我的那个issue 已经解决了 , 可以去看看
我的那个issue 已经解决了,可以去看看 |
When calling `path.resolve("tmp", ".."), this branch is triggered, causing an error in the browser (line 124 in index.js):
I think this error should be caught.
The text was updated successfully, but these errors were encountered: