NativeScript encountered a fatal error: Uncaught TypeError: Cannot convert undefined or null to object
at
./node_modules/whatwg-url/lib/utils.js(file: src/webpack:/supadater/node_modules/whatwg-url/lib/utils.js:34:38)
at __webpack_require__(file: src/webpack:/supadater/webpack/bootstrap:24:0)
at fn(file: src/webpack:/supadater/webpack/runtime/hot module replacement:62:0)
at ./node_modules/whatwg-url/lib/URL.js(file: src/webpack:/supadater/node_modules/whatwg-url/lib/URL.js:4:14)
at __webpack_require__(file: src/webpack:/supadater/webpack/bootstrap:24:0)
at fn(file: src/webpack:/supadater/webpack/runtime/hot module replacement:62:0)
at ./node_modules/whatwg-url/webidl2js-wrapper.js(file: src/webpack:/supadater/node_modules/whatwg-url/webidl2js-wrapper.js:3:12)
at __webpack_require__(file: src/webpack:/supadater/webpack/bootstrap:24:0)
at fn(file: src/webpack:/supadater/webpack/runtime/hot module replacement:62:0)
at ./node_modules/whatwg-url/index.js(file: src/webpack:/supadater/node_modules/whatwg-url/index.js:3:33)
at __webpack_require__(file: src/webpack:/supadater/webpack/bootstrap:24:0)
at fn(file: src/webpack:/supadater/webpack/runtime/hot module replacement:62:0)
at ./node_modules/@triniwiz/nativescript-supabase-postgrest/lib/PostgrestQueryBuilder.js(file:///app/vendor.js:48444:68)
at __webpack_require__(file: src/webpack:/supadater/webpack/bootstrap:24:0)
at fn(file: src/webpack:/supadater/webpack/runtime/hot module replacement:62:0)
at ./node_modules/@triniw<…>
Hello,
I added Supabase to a project and the app does not compile for either iOS or Android.
Android Output
iOS Output
package.json
OS: MacOS 12.6.1 Node: 18.10.0 NS: 8.4.0
Steps to reproduce it
Run Stackblitz with NS Preview