Skip to content

[BUG]: Remix 1.14.1 regression breaks decorators with BABEL_PARSE_ERROR #2

@SahidMiller

Description

@SahidMiller

Make sure these boxes are checked before submitting your issue, thank you!

  • You are using NodeJs 14 or higher?
  • You have installed all dependencies and tools listed in the documentation?
  • You have searched the existing issues if someone has already asked the same issue?
  • You have read the documentation?
  • Is not a programming question.
  • You are using latest code of Starter?

Description of the bug

The following error is created when using @remix-run/[email protected] reverting back to 1.13.0 manually compiles fine.

//SyntaxError: /home/tns/Code/flipstarter-projects/anyonecanpay.me/packages/server/src/routes/hello-world.server.ts: Support for the experimental syntax 'decorators' isn't currently enabled (6:3):

export class HelloWorldBackend {
  @Loader()
  ^
  getMessage(
    @Query('defaultMessage') defaultMessage: string,
    @Query('counter', ParseIntPipe) _counter: number,

Steps To Reproduce

  1. Set @remix-run/dev to latest version ^1.14.1 in package.json
  2. Execute npm run start:dev

Which version of the app are you using?

0.0.1-alpha6

Additional Information

No response

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions