Faengelm
Faengelm

Reputation: 66

Why am I getting this error with userDataPersistance example

GitHub was refreshed 3 days ago . I'm following the instructions and created my configs & secrets for both dev & prod... but I get this error as soon as changing the capsule id to mine and the capsule properties to "default"

the error is a missing "null.js" file which was not showing an error when using the example

Upvotes: 1

Views: 70

Answers (2)

Pete Haas
Pete Haas

Reputation: 1800

This has been resolved. Get the latest sample hosted on github here Follow the instructions for saving data to your own restdb or airtable services. No need to use the previous answer when you're on the latest version.

Upvotes: 1

Pete Haas
Pete Haas

Reputation: 1800

Yes, I have confirmed this behavior when working through the sample and documentation.

Here's the problem, Bixby is throwing a compile error because it isn't accessing the cloud config setting until it's running. So, it's looking for the file config and doesn't see the 'service' setting. You can remove the compile error by adding this property to the config file.

config.default.service=restdb.js

or

config.default.service=airtable.js

If you've chosen one of those services, it isn't likely that you'll switch. So, this should work as a solution to the issue you're having.

Upvotes: 2

Related Questions