-
Notifications
You must be signed in to change notification settings - Fork 22
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
RedspotError: RS5: RedspotContext is not created. #178
Comments
Further contextTo get my TypeScript project to build I had to put Then I was allowed to do this: import { network, patract } from "redspot" If I remove
And if I change the import to import pkg from 'redspot';
const { network, patract } = pkg; I get a slightly different build error
|
I have also tried this setting module to commonjs in tsconfig "target": "esnext",
"module": "commonjs",
"moduleResolution": "node", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Redspot Version
0.13.6
My project is a
module
compiling toesnext
.I am trying to import redspot using
when I hit this error when running
node --es-module-specifier-resolution=node myscript.js
If I change to
I get different errors about redspot being commonjs
How can I import redspot into my project?
The text was updated successfully, but these errors were encountered: