Hey! We have successfully been using typsense-js p...
# community-help
y
Hey! We have successfully been using typsense-js package with angular, but a few days ago started getting the following error. Anyone else bump into this issue or have any ideas? (We recently updated from Angular 18 to 19 but not sure if that is related)
Copy code
X [ERROR] The package "crypto" wasn't found on the file system but is built into node. [plugin angular-browser-node-built-in]

    node_modules/typesense/lib/Typesense/Keys.js:121:23:
      121 │ var crypto_1 = require("crypto");
j
Hmmm! One other user reported it in a different context CC: @Hayden Hoang another case of this crypto error.
y
It looks like the problem is that we started using es-build which does not have 'crypto'.
In angular 19 the default dev build is es-build, not webpack
👍 1