Skip to content
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

SyntaxError: Unexpected token 'export' #33

Open
Amit0617 opened this issue Jun 24, 2022 · 0 comments
Open

SyntaxError: Unexpected token 'export' #33

Amit0617 opened this issue Jun 24, 2022 · 0 comments

Comments

@Amit0617
Copy link

Amit0617 commented Jun 24, 2022

error - /home/user/myproject/node_modules/.pnpm/opencrypto@1.5.5/node_modules/opencrypto/src/OpenCrypto.js:59
export default class OpenCrypto {
^^^^^^

SyntaxError: Unexpected token 'export'
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1033:15)
at Module._compile (node:internal/modules/cjs/loader:1069:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Object.require.extensions.<computed> [as .js] (/home/user/myproject/node_modules/.pnpm/ts-node@10.8.1_54pslqdkkpogcwznu22kzwpere/node_modules/ts-node/src/index.ts:1587:43)
....

Screenshot_20220624_114748

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant