https://cypress.io logo
Join Discord
Powered by
# vue
  • s

    stocky-dream-36427

    04/08/2021, 12:27 AM
    before calling any mount commands
  • s

    stocky-dream-36427

    04/08/2021, 12:27 AM
    Likely this is fixed in a previous
    @cypress/webpack-dev-server
    so if you downgrade you might get it fixed too
  • s

    stocky-dream-36427

    04/08/2021, 12:28 AM
    https://github.com/cypress-io/cypress/blob/develop/npm/vue/src/index.ts#L377
  • s

    stocky-dream-36427

    04/08/2021, 12:28 AM
    this line can't find ROOT_ID
  • b

    breezy-australia-64868

    04/08/2021, 12:28 AM
    interesting - i might try downgrading and seeing what it does
  • s

    stocky-dream-36427

    04/08/2021, 12:28 AM
    I'd do the jquery hack for a hot minute personally
  • b

    breezy-australia-64868

    04/08/2021, 12:29 AM
    ok 😄 appreciate the help!
  • s

    stocky-dream-36427

    04/08/2021, 12:29 AM
    np
  • s

    stocky-dream-36427

    04/08/2021, 12:29 AM
    If it's a real issue (i think it is), we'll make a GH issue to track it
  • a

    ancient-appointment-66951

    04/08/2021, 12:34 AM
    Hello fam
  • a

    ancient-appointment-66951

    04/08/2021, 12:35 AM
    I got it working with a Vue 2 + Vue CLI install
  • a

    ancient-appointment-66951

    04/08/2021, 12:36 AM
    I can share my repo if needed
  • a

    ancient-appointment-66951

    04/08/2021, 12:36 AM
    I am amazed we can run cypress in CSB, that's quite cool
  • s

    stocky-dream-36427

    04/08/2021, 12:36 AM
    I think he got it working out of the box using your blog post too
  • s

    stocky-dream-36427

    04/08/2021, 12:36 AM
    (I don't think we can, I've never seen it work......... wait, can we?)
  • a

    ancient-appointment-66951

    04/08/2021, 12:36 AM
    Right I see, @User got it working with a fresh install, not and existng project.
  • s

    stocky-dream-36427

    04/08/2021, 12:37 AM
    i'll push up the git repo
  • a

    ancient-appointment-66951

    04/08/2021, 12:37 AM
    I had a similar expereince, I upgraded my old project and it took a bit of messing around with dependencies
  • b

    breezy-australia-64868

    04/08/2021, 12:37 AM
    right! just with an existing one - new one worked
  • b

    breezy-australia-64868

    04/08/2021, 12:37 AM
    the old one also used the Vue CLI
  • a

    ancient-appointment-66951

    04/08/2021, 12:37 AM
    So if I use your package.json and get it working that should solve for you, too?
  • a

    ancient-appointment-66951

    04/08/2021, 12:38 AM
    Let me try. The problem I had was Vue CLI has so many hidden dependences inside those "vue-cli-service" modules, and they were conflicting with... something.
  • s

    stocky-dream-36427

    04/08/2021, 12:38 AM
    https://github.com/JessicaSachs/bug-reproductions
  • s

    stocky-dream-36427

    04/08/2021, 12:38 AM
    And yeah... I bet it's because there's a few diff minor versions of Vue CLI plugins in there
  • a

    ancient-appointment-66951

    04/08/2021, 12:39 AM
    Trying this now!
  • s

    stocky-dream-36427

    04/08/2021, 12:39 AM
    They're not meant to be used across diff versions (they're deployed as a monorepo) and so sometimes they get angry
  • s

    stocky-dream-36427

    04/08/2021, 12:39 AM
    But it's good to know about this and what the symptom looks like -- regardless of if it's a legit issue
  • b

    breezy-australia-64868

    04/08/2021, 1:03 AM
    I would think so - I don’t really have anything crazy going on in the repo. I have a vue.config file and all it does is add an alias.
  • a

    ancient-appointment-66951

    04/08/2021, 1:03 AM
    Slowly working through this
  • a

    ancient-appointment-66951

    04/08/2021, 1:05 AM
    I dont see any obvious difference in my working example and this one - just going through checking each version of everything for now.
1...789...37Latest