Replies: 1 comment
-
It is possible that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Am getting an error:
✖ Failed to evaluate snap bundle in SES. This is likely due to an incompatibility with the SES environment in your snap.
Received the following error from the SES environment:
[TypeError <Object <Object <[Object: null prototype] {}>>>: Cannot delete property 'toString' of function () { [native code] }
at Jn.exports (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:32497)
at eval (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:32538)
at 5655 (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:1380105)
at t (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:1446303)
at 8638 (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:1440654)
at t (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:1446303)
at eval (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:1446835)
at Object.eval (eval at (eval at makeEvaluate (/Users/johndickerson/GITLAB/utu-metamask-snap/node_modules/ses/dist/ses.cjs:6141:27)), :1:1446942)
at
I have in package.json of the snap:
"dependencies": {
"@metamask/snaps-types": "^2.0.0",
"@metamask/snaps-ui": "^2.0.0",
"@ututrust/web-components": "2.1.4",
"buffer": "^6.0.3"
},
Notice the line: "@ututrust/web-components": "2.1.4"
This is one of my libraries I want to use.
The code that is causing the problem is:
signAndGetToken(..) function is imported:
Are we allowed to import libraries in the package.json of the snap?
The error is hard to understand.
Any help much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions