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

Unexpected token 'export' #3

Closed
xescuder opened this issue Oct 5, 2023 · 3 comments
Closed

Unexpected token 'export' #3

xescuder opened this issue Oct 5, 2023 · 3 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@xescuder
Copy link

xescuder commented Oct 5, 2023

Describe the bug

/Users/escuderx/Projects/allure-microcks/node_modules/@microcks/microcks-testcontainers/src/index.ts:16
export { MicrocksContainer, StartedMicrocksContainer,
^^^^^^

SyntaxError: Unexpected token 'export'

  2 |
  3 | const { Network } = require('testcontainers');
> 4 | const { MicrocksContainer, TestRunnerType } = require('@microcks/microcks-testcontainers');
    |                                               ^
  5 |
  6 | describe("MicrocksContainer", () => {
  7 |   jest.setTimeout(180_000);

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Microcks version or git rev

No response

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

No response

Additional information

No response

@lbroudoux
Copy link
Member

Hey Xavier,

Sorry, I think I screwed up things regarding the packaging... I'm not a JS champion. Here's a new archive with a new way to package things up. Could you please check it out and tell me if it's now ok?

microcks-microcks-testcontainers-0.1.1.tgz

@lbroudoux lbroudoux self-assigned this Oct 5, 2023
@lbroudoux lbroudoux added the kind/bug Something isn't working label Oct 5, 2023
@xescuder
Copy link
Author

xescuder commented Oct 6, 2023

Yes, now I can import correctly! Thanks.

@lbroudoux
Copy link
Member

Thanks for feedback! Releasing the 0.1.2 in a few minutes!

@lbroudoux lbroudoux added this to the 0.1.2 milestone Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants