Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Hello world regeneratorRuntime reference error

Hi, I am following the instructions for the Hello world example and am running into some issues. After creating, installing, adding to nav and running all seems to work correctly in the shared env. When I log out and do a hard refresh and log into the application, I can see the home menu and the menu item for the hello world example however, when I click on it, the page just shows a spinner.At the dev console, I see the server working correctly and logging 200 but going into the devtools console I see two errors, both of them the same:

t.ts:30 Uncaught (in promise) ReferenceError: regeneratorRuntime is not defined
at t.ts:30:33
at Sn (t.ts:30:33)
at connect.ts:218:17

I have tried a server side rendered example and a client side as well with the same results in different browsers. If I try to step through the code at the error point and check for regeneratorRuntime it indeed is not there. If however I let the page load without brake points and check the console for regeneratorRuntime, it is defined correctly. Could there be some race condition issue or something else I am doing wrong?

Posted 4 years ago
0

I am having the same issue

— Ben Newey   4 years ago
Votes Newest

Answers 2


The tecton team just released a patch, 1.10.8, that fixes this issue. There was an update to our codebase that required an adjustment to our Babel configuration. This issue seems exclusive to 1.10.7.

Posted 4 years ago
Trey Teter
124 × 2 Administrator

So far what I have been able to find is that there is a possible bug in the latest version of Tecton (v1.10.7). If I downgrade to the previouse version, it seems to work. I can see both csr and ssr widgets. To downgrade, I ran "q2 upgrade" and chose q2-tecton and proceeded through the prompts.

Is this solution ok or is there a better option to use the latest Tecton?

Posted 4 years ago
0

It looks like they just released 1.10.8 and it has a fix for possibly this bug?

— Chris Hutchinson   4 years ago
0

Yep! That version (1.10.7) is not working. Today there is a new version available (1.10.8) that has my extensions working correctly! Thanks for the help

— Ben Newey   4 years ago
114 Views
2 Answers
4 years ago
4 years ago
Tags