Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Error! This experimental syntax requires enabling the parser plugin: 'classPrivateMethods' (406:2) #1248

Closed

Description

@hcldan

I understand that a parser is being used at a low level here.
I've turned off bytecode generation and I really just want these files packed as-is as node can handle this syntax on the chosed target.

How do I turn this off?

Activity

  1. hcldan commented on Jul 7, 2021

    @hcldan
    Author

    pkg --public --public-packages '*' --no-bytecode --debug .
    btw I still see tons of messages about bytecode in the debug logs

  2. added a commit that references this issue on Jul 7, 2021
    e0557d0
  3. mblodorn commented on Jul 13, 2021

    @mblodorn

    +1 having troubles with node-webpmux + pkg

    Error! This experimental syntax requires enabling the parser plugin: 'classPrivateMethods' (441:2)
    ********\node_modules\node-webpmux\webp.js

  4. LinkTree3 commented on Jul 21, 2021

    @LinkTree3

    +1 having troubles with node-webpmux + pkg

    Error! This experimental syntax requires enabling the parser plugin: 'classPrivateMethods' (441:2)
    ********\node_modules\node-webpmux\webp.js

    Exactly the same issue for me with the node-webpmux package. I am able to build if I delete this package but that's not a great solution and is prone to break..

    Did you manage to resolve this?

  5. github-actions commented on Oct 20, 2021

    @github-actions

    This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

  6. bartmichu commented on Oct 21, 2021

    @bartmichu

    Has anyone found a workaroud?

  7. mblodorn commented on Oct 21, 2021

    @mblodorn

    Has anyone found a workaroud?

    I removed the "#" from the method declaration

    not the best solution but it worked!

  8. github-actions commented on Jan 20, 2022

    @github-actions

    This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

  9. hcldan commented on Jan 20, 2022

    @hcldan
    Author

    I've started bundling my code myself and transpiling it before bundling

  10. github-actions commented on Apr 21, 2022

    @github-actions

    This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label

  11. github-actions commented on Apr 27, 2022

    @github-actions

    This issue is now closed due to inactivity, you can of course reopen or reference this issue if you see fit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions