- Notifications
You must be signed in to change notification settings - Fork 2k
Open
Description
Please make sure that this is a build/installation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:build_template
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux
- Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: n/a
- TensorFlow.js installed from (npm or script link): npm
- TensorFlow.js version: 4.22
- CUDA/cuDNN version: n/a
Describe the problem
- create an Angular app
- add tfjs and use it
- build the app
ng build
There's an build error saying the Buffer
class is not available, because it is only available for node app not for web app.
Manually add the Buffer
package resolves the error.
Any other info / logs
- Clone https://github.com/davidshen84/davidshen84.github.io
npm i && ng build
should worknpm uni buffer && ng build
should fail