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

Errors in all the Ember quizes #1

Closed
daphnedeng opened this issue Apr 27, 2018 · 7 comments
Closed

Errors in all the Ember quizes #1

daphnedeng opened this issue Apr 27, 2018 · 7 comments

Comments

@daphnedeng
Copy link

all quiz files have error. Not able to open any of them.

Uncaught TypeError: Cannot read property 'String' of undefined
    at Module.callback (string.js:4)
    at Module.exports (loader.js:83)
    at Module.build (loader.js:133)
    at findModule (loader.js:181)
    at Module.reify (loader.js:115)
    at Module.build (loader.js:133)
    at findModule (loader.js:181)
    at Module.reify (loader.js:115)
    at Module.build (loader.js:133)
    at findModule (loader.js:181)```
@DagmaraS90
Copy link

Hi! I have the exact same problem! @daphnedeng did you managed to find solution to this?

@daphnedeng
Copy link
Author

daphnedeng commented Jun 23, 2018 via email

@Abhiek187
Copy link

See this issue

Basically, I had to insert "ember-inflector": "2.2.0" into package.json and then run npm install twice before the quizzes started working again.

@sgouver
Copy link

sgouver commented Jul 15, 2018

where in package.json did you insert "ember-inflector": "2.2.0", because I receive an additional error...

@batwell31
Copy link

you put it in "devDependencies" object

@amyyf
Copy link

amyyf commented Aug 12, 2018

I had the same error and updating the devDependencies fixed it, thank you @Abhiek187!

@papanugget
Copy link

papanugget commented Aug 28, 2018

The updated package.json with ember-inflector inserted did nothing to fix the error on my end. From another thread I had to manually edit string.js in the ember-inflector package from
if (Ember.ENV.EXTEND_PROTOTYPES === true || Ember.ENV.EXTEND_PROTOTYPES.String) {
to
if (Ember.ENV.EXTEND_PROTOTYPES === true &&Ember.ENV.EXTEND_PROTOTYPES.String) {

Hope that helps someone out there.

@hbkwong hbkwong closed this as completed Nov 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants