Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ember cli version checker module not found issue - test app failing to build #905

Open
ahemed-haneen opened this issue Aug 26, 2021 · 1 comment

Comments

@ahemed-haneen
Copy link

ahemed-haneen commented Aug 26, 2021

i'm having trouble to run yarn start from the master branch.

Cannot find module 'ember-cli-version-checker'
Require stack:

  • /Users/user/OpenSourceRepos/ember-table/index.js
  • /usr/local/lib/node_modules/ember-cli/lib/models/package-info-cache/package-info.js
  • /usr/local/lib/node_modules/ember-cli/lib/models/package-info-cache/index.js
  • /usr/local/lib/node_modules/ember-cli/lib/models/project.js
  • /usr/local/lib/node_modules/ember-cli/lib/utilities/get-config.js
  • /usr/local/lib/node_modules/ember-cli/lib/utilities/instrumentation.js
  • /usr/local/lib/node_modules/ember-cli/lib/cli/index.js
  • /usr/local/lib/node_modules/ember-cli/bin/ember

so i reinstalled ember cli version checker and the version updated to 5.1.2

after this the previous error is not present but a new error is there,

[ember-cli-version-checker] 'checker.forEmber' has been removed, please use 'checker.for(ember-source)'

any idea why?

@ahemed-haneen
Copy link
Author

the second issue can be fixed by updating index.js ln:23 to

    this.checker = new VersionChecker(this.project).for(`ember-source`)

but then

The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant