You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am flagging the below as an issue because this lab seems to be an outlier.
Events Leading to Error
running learn on my system consistently produces this error:
Error Message /Users/home/.rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/strategies/mocha.rb:42:in `results': undefined method `[]' for nil:NilClass (NoMethodError)
Additional Testing
Even after completing the assignment correctly (confirmed by comparing my code with the solutions branch), learn throws the same error; I initially suspected the results error may have relied upon completion of the assignment to populate the test's results method with an array of data from Game of Throne's API.
EDIT:
Temporary Fix: I was able to get around the issue by commenting out Flatiron's unit test file, running learn, and then running npm audit fix.
The text was updated successfully, but these errors were encountered:
I am flagging the below as an issue because this lab seems to be an outlier.
Events Leading to Error
running
learn
on my system consistently produces this error:Error Message
/Users/home/.rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/strategies/mocha.rb:42:in `results': undefined method `[]' for nil:NilClass (NoMethodError)
Additional Testing
Even after completing the assignment correctly (confirmed by comparing my code with the solutions branch),
learn
throws the same error; I initially suspected theresults
error may have relied upon completion of the assignment to populate the test'sresults
method with an array of data from Game of Throne's API.EDIT:
learn
, and then runningnpm audit fix
.The text was updated successfully, but these errors were encountered: