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

Illegal arguments for construction of _exports_SAINSMARTKS in JS module installed from npm with UPM 1.0.0-src #498

Closed
deadprogram opened this issue Nov 29, 2016 · 1 comment
Labels

Comments

@deadprogram
Copy link
Contributor

I am receiving an error when attempting to use the SAINSMARTKS LCD display, from JS for UPM version 1.0.0-src when installed via the jsupm_i2clcd module using npm.

I receive the following error:

ERROR: var lcd = new sainsmartObj.SAINSMARTKS();
ERROR:           ^

ERROR: Error: Illegal arguments for construction of _exports_SAINSMARTKS
    at Error (native)
    at Object.<anonymous> (/home/root/.node_app_slot/index.js:28:11)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:968:3
@deadprogram
Copy link
Contributor Author

This was addressed in upm 1.0.2 thanks everyone. Now closing this issue.

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