Editor completely broken

TypeError: n.user is not a function
    at e.value (analytics.js:88)
    at ServeProjectRoute.jsx:20
    at sa (react-dom.production.min.js:199)
    at Ha (react-dom.production.min.js:218)
    at u (scheduler.production.min.js:11)
    at d (scheduler.production.min.js:12)
    at MessagePort.M.port1.onmessage (scheduler.production.min.js:16)
(anonymous) @ breadcrumbs.ts:111
ia @ react-dom.production.min.js:198
n.callback @ react-dom.production.min.js:210
Zi @ react-dom.production.min.js:193
Xi @ react-dom.production.min.js:193
Ra @ react-dom.production.min.js:217
Da @ react-dom.production.min.js:220
(anonymous) @ react-dom.production.min.js:250
t.unstable_runWithPriority @ scheduler.production.min.js:18
Ss @ react-dom.production.min.js:250
_s @ react-dom.production.min.js:249
Cs @ react-dom.production.min.js:248
bs @ react-dom.production.min.js:245
Ha @ react-dom.production.min.js:218
u @ scheduler.production.min.js:11
d @ scheduler.production.min.js:12
M.port1.onmessage @ scheduler.production.min.js:16
analytics.js:88 Uncaught TypeError: n.user is not a function
    at e.value (analytics.js:88)
    at ServeProjectRoute.jsx:20
    at sa (react-dom.production.min.js:199)
    at Ha (react-dom.production.min.js:218)
    at u (scheduler.production.min.js:11)
    at d (scheduler.production.min.js:12)
    at MessagePort.M.port1.onmessage (scheduler.production.min.js:16)
1 Like

Can you share your code? It looks like you may have forgot to define something.

the glitch editor is completely blank and this is the error in the console

Can you hard refresh or try in an incognito tab.

1 Like

Having the same problem, with the same error in the console.
I tried hard refreshing in Chrome and the same error occurs.
Similarly, logging out and logging back in does not fix this issue.
Any help would be appreciated

The editor will start to load, then this error will occur and the screen will be completely blank.
This isn’t an issue with the site, but more with the Glitch editor itself.

peError: n.user is not a function
at e.value (analytics.js:88)
at ServeProjectRoute.jsx:20
at sa (react-dom.production.min.js:199)
at Ha (react-dom.production.min.js:218)
at u (scheduler.production.min.js:11)
at d (scheduler.production.min.js:12)
at MessagePort.M.port1.onmessage (scheduler.production.min.js:16)
(anonymous) @ breadcrumbs.ts:111

Uncaught TypeError: n.user is not a function
at e.value (analytics.js:88)
at ServeProjectRoute.jsx:20
at sa (react-dom.production.min.js:199)
at Ha (react-dom.production.min.js:218)
at u (scheduler.production.min.js:11)
at d (scheduler.production.min.js:12)
at MessagePort.M.port1.onmessage (scheduler.production.min.js:16)

This is very odd! I think that you should email support@glitch.com about this.

Can you tell me what browser you use, what the version is, and what the OS is, then send that to support@glitch.com?

You can find the version of chrome by visiting chrome://version

1 Like

I got this error only while trying to add a package. Browser: Safari

Glitch is made in react? Interesting, will make note of that.

1 Like

The whole Glitch website is made using React.

Odd because they don’t use webpack.

i have a backup of the main website in full (src code), including all frontend routes, pretty neat to look at

1 Like

Update: it now works.

2 Likes