Open pmannle opened 2 years ago
Here is my package.json:
{
"name": "fuse-sdk",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"type": "module",
"author": "",
"license": "ISC",
"dependencies": {
"@rari-capital/fuse-sdk": "^1.1.0"
}
}
I've also tried "type":"commonjs"
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?