Skip to content

Registration failing with below error. #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
afaridanquah opened this issue Jun 18, 2019 · 5 comments
Closed

Registration failing with below error. #15

afaridanquah opened this issue Jun 18, 2019 · 5 comments

Comments

@afaridanquah
Copy link

TypeError: Cannot read property 'length' of null
getShortTypeString
webpack:////redux-devtools-inspector/lib/tabs/getItemString.js:54
https://nativescript-codepush-web.herokuapp.com/assets/vendor.js:33441:29
getText
webpack:///
/redux-devtools-inspector/lib/tabs/getItemString.js:153
getItemString
webpack:////redux-devtools-inspector/lib/tabs/getItemString.js:176
JSONDiff._this.getItemString
webpack:///
/redux-devtools-inspector/lib/tabs/JSONDiff.js:148
JSONNestedNode.render
webpack:////react-json-tree/lib/JSONNestedNode.js:162
https://nativescript-codepush-web.herokuapp.com/assets/vendor.js:89229:21
measureLifeCyclePerf
webpack:///
/react-dom/lib/ReactCompositeComponent.js:73
ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext
webpack:///~/react-dom/lib/ReactCompositeComponent.js:792

@EddyVerbruggen
Copy link
Contributor

I am juuuuust in the process of updating this repo. See #14.. this may be related. Hold off a day or 2 plz.

@dudipsh
Copy link

dudipsh commented Jun 24, 2019

@EddyVerbruggen
any updates?

@EddyVerbruggen
Copy link
Contributor

I'm not sure what your setup is, but please try with the latest plugin version and make sure to clean your platforms/node_modules/hooks folders when doing so.

If the error persists, please share a Github repo and the commands to trigger the error, then I'm more than happy to take a look.

@dudipsh
Copy link

dudipsh commented Aug 2, 2019

@EddyVerbruggen
Hi,
It's still happened
npm i -g nativescript-app-sync-cli
and inside my project, i run
nativescript-app-sync register

Please login to the browser window we've just opened. If it fails, load this URL in a browser: https://appsync-server.nativescript.org/auth/register?hostname=DESKTOP-00P6R0J

when I click on the link I get a registration page and after 2 sec its redirect to this page

https://appsync.nativescript.org/register
and i get this error

TypeError: Cannot read property 'length' of null
getShortTypeString
webpack:///~/redux-devtools-inspector/lib/tabs/getItemString.js:54
https://appsync.nativescript.org/assets/vendor.js:33441:29
getText
webpack:///~/redux-devtools-inspector/lib/tabs/getItemString.js:153
getItemString
webpack:///~/redux-devtools-inspector/lib/tabs/getItemString.js:176
JSONDiff._this.getItemString
webpack:///~/redux-devtools-inspector/lib/tabs/JSONDiff.js:148
JSONNestedNode.render
webpack:///~/react-json-tree/lib/JSONNestedNode.js:162
https://appsync.nativescript.org/assets/vendor.js:89138:21
measureLifeCyclePerf
webpack:///~/react-dom/lib/ReactCompositeComponent.js:73
ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext
webpack:///~/react-dom/lib/ReactCompositeComponent.js:792

Redux output

{
  "type": "RECEIVE_AUTH",
  "payload": null
}

{
  "users": {},
  "password": {},
  "login": {},
  "register": {},
  "auth": {
    "isFetching": false,
    "token": null,
    "isAuth": false
  },
  "accessKeys": {},
  "routes": {},
  "products": {},
  "addProducts": {},
  "deployments": {
    "rs": {}
  },
  "msgStack": {
    "rs": []
  }
}

@EddyVerbruggen
Copy link
Contributor

Thanks for reporting back. For now please use a different browser to get past this registration hurdle. We're trying to fix this silly React-built website. Follow along at NativeScript/nativescript-app-sync-web#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants