Skip to content

Babel plugin-proposal-decorators missing when following Quick Start guide #20797

Open
@rayjsales

Description

@rayjsales

🐞 Describe the Bug

Following the Quick Start tutorial guide, in the 'Define a Route' section, where it states to add a model() method to the Route in the app/routes/scientists.js file, I get a Parsing error: Cannot find module '@babel/plugin-proposal-decorators'

Screenshot 2024-11-17 at 4 53 29 PM

🔬 Minimal Reproduction

Follow the Quick Start tutorial guide, up to 'Define a Route' section, and then paste in the sample model provided for scientists. I am using ESLint.

my emberJS Tutorial Repo

😕 Actual Behavior

After pasting in the scientist model provided in the Quick Start guide, the Parsing Error shows up. I continue on to the Quick Start guide and loop through each scientist to render the names on the page, and the names do appear.

🤔 Expected Behavior

When running the Quick Start guide, and following all the prompts, all required dependancies should be installed. No errors or issues should show up when running a quick start guide.

🌍 Environment

  • Ember: - 6.0.0
  • Ember-CLI: - 6.0.1
  • Node.js/npm: - v20.11.0
  • OS: darwin x64
  • Browser: Firefox

➕ Additional Context

New user of EmberJS. I am using VSCode with ESLint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions