When i try to add a CDN for external library, and save, i don’t really get a message as shown in the page. like : Added the Papa Parse library from a CDN.
Is there any time gap between when the library is actually available and when it is saved ? and is the absence of confirmation message just a bug ?
Hey @craigboiseusr! Once you add the library, you should be able to use it. Here are some screenshots: 1) Add the library in the 3 dot menu under Scripts and styles
2) Use a function from that library in a query, transformer, etc
var parquet = require('node-parquet');
var reader = new parquet.ParquetReader({{gcsSignedParquet.data.body}});
console.log(reader.info());
console.log(reader.rows();
reader.close();
After running I get back "require not found" or when I remove the first line "can not find parquet".
Hey grffxbio, unfortunately not every library is compatible with Retool right now. That one that you are using has require calls in it, which won't work inside of Retool. If there is a version that uses module.exports like the crypto-js library referenced above, then you should be able to use it.