You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ng serve works fine but ng build fails because of gradio-client. Any ideas?
How to reproduce the bug
npxngbuild
Error messages and logs
> [email protected] build
> ng build
> Building...
√ Building...
Application bundle generation failed. [24.271 seconds]
X [ERROR] Could not resolve "stream"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:1:23:
1 │ import require$$0 from "stream";
╵ ~~~~~~~~
The package "stream" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "zlib"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:2:25:
2 │ import require$$0$2 from "zlib";
╵ ~~~~~~
The package "zlib" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "fs"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:3:25:
3 │ import require$$0$1 from "fs";
╵ ~~~~
The package "fs" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "path"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:4:25:
4 │ import require$$1$1 from "path";
╵ ~~~~~~
The package "path" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "os"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:5:23:
5 │ import require$$2 from "os";
╵ ~~~~
The package "os" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "net"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:7:23:
7 │ import require$$3 from "net";
╵ ~~~~~
The package "net" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "tls"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:8:23:
8 │ import require$$4 from "tls";
╵ ~~~~~
The package "tls" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "crypto"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:9:23:
9 │ import require$$5 from "crypto";
╵ ~~~~~~~~
The package "crypto" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "https"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:11:25:
11 │ import require$$1$2 from "https";
╵ ~~~~~~~
The package "https" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "http"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:12:25:
12 │ import require$$2$1 from "http";
╵ ~~~~~~
The package "http" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
X [ERROR] Could not resolve "url"
node_modules/@gradio/client/dist/wrapper-CviSselG.js:13:23:
13 │ import require$$7 from "url";
╵ ~~~~~
The package "url" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
Environment
Current environment
```
#- EveryVoice Diagnostic information
#- EveryVoice version:
#- Python version:
#- System:
```
More info
No response
The text was updated successfully, but these errors were encountered:
Bug description
ng serve
works fine butng build
fails because of gradio-client. Any ideas?How to reproduce the bug
Error messages and logs
Environment
Current environment
``` #- EveryVoice Diagnostic information #- EveryVoice version: #- Python version: #- System: ```More info
No response
The text was updated successfully, but these errors were encountered: