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

Unable To Start Standalone Server #115

Open
KevinDevs opened this issue Sep 25, 2017 · 4 comments
Open

Unable To Start Standalone Server #115

KevinDevs opened this issue Sep 25, 2017 · 4 comments

Comments

@KevinDevs
Copy link

KevinDevs commented Sep 25, 2017

/etc/textbelt/textbelt-master/lib/text.js:78
config = Object.assign(config, obj);
^
TypeError: Object function Object() { [native code] } has no method 'assign'
at Object.setConfig [as config] (/etc/textbelt/textbelt-master/lib/text.js:78:19)
at Object. (/etc/textbelt/textbelt-master/server/app.js:30:6)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

What is wrong with it guys, please help!

@typpo
Copy link
Owner

typpo commented Sep 25, 2017

It seems like you're using an older version of node without es6 support. Can you let me know what version you're running node --version?

You should upgrade node or use an object.assign polyfill. Upgrading node is probably a better choice because there's a chance you'll run into other problem with such an old version.

@KevinDevs
Copy link
Author

its v6.11.3

@ghost
Copy link

ghost commented Jan 26, 2018

Hi,

I'm also having the same issue,

TypeError: Object function Object() { [native code] } has no method 'assign'.

My Node Version is -> v0.10.25
O/S -> Ubuntu 14.04

I tried everything but still unable ti resolve.

Could someone please help me to solve this.

@P110
Copy link

P110 commented May 21, 2018

Hi,
for anyone having this issue in the future, you need to update your node version, you can try to do this with the commands shown here (at time of writing).

https://stackoverflow.com/questions/23940172/not-seeing-latest-version-when-updating-node-js-via-installer-msi-windows-7

May not work for you but it worked for me.

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