Closed LemonNekoGH closed 1 month ago
Hi @LemonNekoGH Mind providing a bit more context here, specifically on 3. Run your project. Are you running this with node, if so what version?
sorry, i run program using node 16 with pnpm and next
i tryed to build package from your latest code, errors disappeared. the latest code seems sloved this promblem.
this package with version 0.20.2 is published 9 mounth ago and latest tag is 0.25.0
This should be fixed now. Please open a new issue if there is still a problem
Problem
I can't use
@onflow/cadence-parser
to parse my Cadence code, becauseCannot use import statement outside a module
error.Steps to Reproduce
see the error