GithubHelp home page GithubHelp logo

Comments (6)

bmish avatar bmish commented on June 18, 2024

Can you check your lockfile to ensure you have the latest version of ember-template-recast which seems like it was the fix to the linked issue?

from ember-template-lint.

natmegs avatar natmegs commented on June 18, 2024

Ah, it looks like two packages have ember-template-recast as a dependency

yarn why ember-template-recast
├─ codemod-cli@npm:3.2.0
│  └─ ember-template-recast@npm:4.3.0 (via npm:^4.1.4)
│
└─ ember-template-lint@npm:4.16.1
   └─ ember-template-recast@npm:6.1.3 (via npm:^6.1.3)

but the version in my node_modules is 4.3.0

from ember-template-lint.

natmegs avatar natmegs commented on June 18, 2024

FWIW, if I add an entry to my package.json resolutions for ember-template-recast at the latest version, I still get the parse error

from ember-template-lint.

bmish avatar bmish commented on June 18, 2024

CC: @lifeart @dcyriller

from ember-template-lint.

lifeart avatar lifeart commented on June 18, 2024

Hi @natmegs! Thank you for report! Could you try following:

  1. Remove codemod-cli
  2. Do yarn install
  3. Remove node_modules
  4. Do yarn install
  5. Ensure you have only one template-recast dependency
  6. Run linting

from ember-template-lint.

natmegs avatar natmegs commented on June 18, 2024

hi @lifeart! 👋 I did all the above steps and confirmed that

  • yarn why ember-template-recast just shows one version:
yarn why ember-template-recast
└─ ember-template-lint@npm:4.16.1
   └─ ember-template-recast@npm:6.1.3 (via npm:^6.1.3)
  • I looked at the ember-template-recast package.json in my node_modules and the version is 6.1.3

unfortunately I am still seeing the ember-template-lint CLI throwing the parse error

from ember-template-lint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.