Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ISSUE: Want to use SmartClient UI Widgets in React App

    I would like to use SmartClient in my react app for the UI widgets that it offers, however I get an error using
    Code:
    npm install smartclient-lgpl
    and adding
    Code:
    "smartclient-lgpl": "0.3.0",
    to the dependencies. Both produce the following error.

    The error is as follows.

    Code:
    > smartclient-lgpl@0.3.0 install ~\node_modules\smartclient-lgpl
    > node update.js
    
    fs.js:35
    } = primordials;
        ^
    
    ReferenceError: primordials is not defined
        at fs.js:35:5
    
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! smartclient-lgpl@0.3.0 install: `node update.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the smartclient-lgpl@0.3.0 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Working...
X