Skip to content
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

TypeError: Cannot redefine property: registration_endpoint #96

Open
mys10gan opened this issue Sep 16, 2021 · 0 comments
Open

TypeError: Cannot redefine property: registration_endpoint #96

mys10gan opened this issue Sep 16, 2021 · 0 comments
Labels

Comments

@mys10gan
Copy link

I am unable to setup my custom registration server, after doing all the steps in README, I am getting an error while running the gateway.

Object.defineProperty(mergeInto, prop, Object.getOwnPropertyDescriptor(Object(mergeFrom), prop));
                 ^
TypeError: Cannot redefine property: registration_endpoint

from this file

gateway/node_modules/config/lib/config.js:1314

My local.json file looks like this (With my own NS details):

{
  "ssltunnel": {
    "registration_endpoint": "https://api.mydomain.org:8443",
    "domain": "mydomain.org",
    "certemail": "[email protected]"
  }
}

I am running the gateway on Raspberry Pi 3B+. As soon as revert the changes in local.json, everything works all good. Is there something that I have missed?

@benfrancis benfrancis added the bug label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants