You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working on a Rari dashboard, but can't get SDK to load.
I've set node and npm as required:
node: v14.17.0
npm: v7.21.0
Script is simply: const Fuse = require("@Rari-Capital/fuse-sdk");
And getting:
ReferenceError: require is not defined
at file:///Users/phil_mannle/Solidity/fuse-sdk/index.js:1:14
at ModuleJob.run (internal/modules/esm/module_job.js:152:23)
at async Loader.import (internal/modules/esm/loader.js:177:24)
at async Object.loadESM (internal/process/esm_loader.js:68:5)
Can anyone advise?
The text was updated successfully, but these errors were encountered:
Working on a Rari dashboard, but can't get SDK to load.
I've set node and npm as required:
node: v14.17.0
npm: v7.21.0
Script is simply:
const Fuse = require("@Rari-Capital/fuse-sdk");
And getting:
Can anyone advise?
The text was updated successfully, but these errors were encountered: