Git Product home page Git Product logo

Comments (10)

sarbbottam avatar sarbbottam commented on July 18, 2024 1

As suggested by @rwjblue npx ember-native-class-codemod https://<host>:<port>/tests/ app/**/*.js worked for me.

from ember-native-class-codemod.

jelhan avatar jelhan commented on July 18, 2024 1

This error seems to have different causes. For me disabling fastboot on the ember serve instance helped: FASTBOOT_DISABLED=true ember serve.

Confused myself. It was not Fastboot but making sure that config/target.js includes Chrome 78. So it's the same as reported by @rjschie. Hope his fix lands soon.

from ember-native-class-codemod.

rwjblue avatar rwjblue commented on July 18, 2024

I suspect what is happening is that the browser we are launching is not actually ending up on the Ember application. Often times this is due to being redirected to an external login page, or something like that.

Maybe you could navigate to /tests instead of your main application landing page?

from ember-native-class-codemod.

basz avatar basz commented on July 18, 2024

I'm seeing this as well. Pointing to a different path isn't any different... My app isn't redirecting either...

a yarn global remove/add of [email protected] did not help

from ember-native-class-codemod.

basz avatar basz commented on July 18, 2024

Well it does not for me... :) can we reopen?

from ember-native-class-codemod.

sarbbottam avatar sarbbottam commented on July 18, 2024

Reopened as requested by @basz.

from ember-native-class-codemod.

nezmen avatar nezmen commented on July 18, 2024

I am also getting this error and pointing to the test page is not working.

image
image

from ember-native-class-codemod.

TomaszWegrzyn avatar TomaszWegrzyn commented on July 18, 2024

Above problem is the same as in #242, I believe they just need to update ember-codemods-telemetry-helpers in order to fix it.

from ember-native-class-codemod.

rjschie avatar rjschie commented on July 18, 2024

I was getting this error as well and found it was due to the use of optional chaining in our apps and building to targets of last 1 Chrome versions.

This depends on [email protected] which uses Chrome 78 and optional chaining was added in Chrome 80.

Upgrading this to puppeteer@latest worked for me to be able to run my code. I've opened a PR as well.

from ember-native-class-codemod.

BryanCrotaz avatar BryanCrotaz commented on July 18, 2024

I'm getting this error with
node v12.16.1 (happens in node 9 and 10 too)
It's downloading chromium r686378

Had to change config/targets.js to "last 10 chrome versions"

Now I get Cannot read property 'exports' of undefined instead. Progress of a sort...

from ember-native-class-codemod.

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.