mirror of https://github.com/embarklabs/embark.git
9f7c6828a8
## User reported error i recently updated to embark 5.0 im having issues connecting to a local node each time i connect to it i get the following output from the embark console ``` Error during proxy setup: Port should be >= 0 and < 65536. Received 754510.. Use '--loglevel debug' for more detailed information. ``` This is what i have under the blockchain.js file ``` localDev: { endpoint: "http://127.0.0.1:7545", accounts: [{ nodeAccounts: true, }] } ``` ### Problem The port to start the proxy on is incremented by a constant value (using the `+` operator), however the port comes from the config and in the case where it is a string, the `+` operator acts as a string concatentation. ### Fix Ensure the port from the config is always parsed to a number before attempting to add the constant proxy port offset. |
||
---|---|---|
.. | ||
cockpit | ||
core | ||
embark | ||
embarkjs | ||
plugins | ||
stack | ||
utils | ||
.yarnrc |