learn-co-curriculum / js-beatles-loops-lab Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Clicking on the IDE button doesn't do anything on any of my devices. Not in the OG chrome, not in chromium.
Before this, when I got into the IDE all of the labs' files were gone with only the file I am working in present. Commands were unable to execute with an error popping in the lines of "This directory doesn't appear to have any specs in it." When restarting the files appeared for a brief moment and vanished again.
resetting the lab according to the youtube tutorial didn't work as commands don't go through.
It started when I lost connection for a second. Now it looks like a user account issue.
var array = [];
for(var i = 0; i < musicians.length; i++) {
array.push(`${musicians[i]} plays ${instruments[i]}`);
}
return array;
}```
```1 passing (507ms)
4 failing
1) theBeatlesPlay
johnLennonFacts
returns an array of strings with exclamation points:
ReferenceError: johnLennonFacts is not defined```
//however using the same opening code and completing the "other" 2 assignments corrects the error in assignment 1
``` for(var i = 0; i < musicians.length; i++) {
array.push(`${musicians[i]} plays ${instruments[i]}`);
}
return array;
}
function johnLennonFacts(array) {
var i = 0;
while (i < array.length) {
array[i] = array[i] + "!!!";
i++;
}
return array;
}
function iLoveTheBeatles(number) {
var array = [];
do {
array.push('I love the Beatles!');
number ++;
} while (number < 15);
return array;
}```
theBeatlesPlay
✓ returns an array of strings containing what instruments each musician plays
johnLennonFacts
✓ returns an array of strings with exclamation points
✓ takes in any array of strings and returns a new array with exclamation points added to each element
iLoveTheBeatles
✓ returns an array of 'I love the Beatles!' 8 times when passed the parameter 7
✓ returns an array of 'I love the Beatles!' once when passed the parameter 17
5 passing (664ms)
The Lab has a glitch in the facts >>> new facts array and the simplest way to explain it is this picture
and you may ask what if you make the array foo and bar? well I gotchu here we go
now you may be wondering what if you have both arrays in there??? WELL I GOTCHU..
at this point I've mastered arrays so I guess thats a good thing.. but im tryna get to my technical interview soon so please someone fix this glitch
Unless I'm misreading this (which is easy to do in this lesson) I believe there is a typo in the error message...
Should be:
I submitted labs with both browser Learn IDE and local Learn IDE, no dice. Still doesn't update Github. Additionally, it seems to be affecting the "Consecutive Days" counter in the Dashboard https://learn.co/tracks/bootcamp-prep-v2
Confirmed that my Github account was properly added to the Account --> Connected Services section.
My code seems to run fine, I add the facts as normal. When entering learn, it expects the terms 'foo' and 'bar' to be added, yet when I add them to the array, it breaks everything. What's going on? And how are 'foo' and 'bar' beatles facts?
Not sure what's happening to make this not pass. The output looks correct and I'm doing the do/while loop as requested?
function iLoveTheBeatles(num) {
var returnArr = [];
var i = 0;
do {
returnArr.push('I Love the Beatles!')
i += 1;
} while (num < 15 && i <= num);
return returnArr;
}
Line 2 is currently:
it("returns an array of strings containing what instruments each instrument plays", function() {
It should be:
it("returns an array of strings containing what instruments each musician plays", function() {
Will create a pull request to fix this.
i have been unable to fork a lesson for a few days.
i manually fork it in the downloadable IDE
however, i have been having problem testing for the past few attempts
please reach out to me with any help possible
i have also contacted [email protected]
Most labs initialize with the same set of three or four warnings each time:
warning [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
warning mocha > [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
warning mocha > [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
warning mocha > glob > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
As a C++ developer with a habit of compiling at the highest warning level, this is bugging me to no end :D.
It seems like at least three of the four warnings should be pretty easy to fix, a few lines of code! Can anybody look into this?
The first test text with failing code returns as: "Beatles Loops returns an array of strings containing what instruments each instrument plays"
I believe based on the lesson that is should return as: "Beatles Loops returns an array of strings containing what instruments each member plays"
I can't seem to run "learn test" or "nodejs index.js" in the console without getting a bug.
// ♥ learn open js-beatles-loops-lab-bootcamp-prep-000
Looking for lesson...
Forking lesson...
Cloning lesson...
Opening lesson...
Installing npm dependencies...
yarn install v1.19.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear thiswarning, remove package-lock.json.
[1/4] Resolving packages...
warning babel-core > babel-runtime > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning babel-core > babel-register > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning mocha > [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
warning mocha > [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
warning mocha > glob > [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.21.1", while you're on "1.19.1".
info To upgrade, run the following command:
$ sudo apt-get update && sudo apt-get install yarn
Done in 7.97s.
Done.
The instructions for the first test are confusing; I had to look at the test in order to see what was actually required of me.
I can't seem to figure out what is wrong with my code here. Any advice, tips, or tricks would be very very appreciated!!!! Thank you!
`
function johnLennonFacts() {
var facts = [
"He was the last Beatle to learn to drive",
"He was never a vegetarian",
"He was a choir boy and boy scout",
];
var array = [];
var i = 0;
while (array.length < facts.length) {
array.push(facts[i] + "!!!");
i++;
}
return array;
}
`
Hi there! I'm a bit stuck with the Beatles loop lab while loop exercise - I have completely hit a wall in terms of what condition should be used for the loop! Any help would be much appreciated, I've been looking at this for a while now and it is just completely escaping me! The other exercises were fine and are returning as passed.
Hi there,
I get the following message when running "learn" and "learn -b" on Nitrous:
➜ js-beatles-loops-lab-v-000 git:(master) ✗ learn
This directory doesn't appear to have any specs in it.
In the index-test.js file on line 6,16,21,27,31
to.eql
needs to be changed to .toEqual
otherwise tests get this error output TypeError: Cannot read property 'eql' of undefined
when running learn.
This has been a challenge because my IDE will not work.
Compiler stops me from typing commands after first try.
Illegal instruction (core dumped)
npm ERR! Test failed. See above for more details.
I am typing 'learn' within the IDE but the tests are not being executed.
I can't figure out what I'm doing wrong with my code here. Any tips, tricks, or just a plain answer would be helpful. Thank you!!!
`
function johnLennonFacts() {
var facts = [
"He was the last Beatle to learn to drive",
"He was never a vegetarian",
"He was a choir boy and boy scout",
];
var array = [];
var i = 0;
while (array.length < facts.length) {
array.push(facts[i] + "!!!");
i++;
}
return array;
}
function iLoveTheBeatles(num) {
var beatle = [];
do {
beatle.push("I love the Beatles!");
num++;
}
while(num < 15);
}
`
Iv'e been getting this a lot lately when I type "learn"
When I run learn -b in my terminal I get a message saying "This directory doesn't appear to have any specs in it." and the test doesn't show as passing or failing on my learn.co page. I just wanted to see if I am doing something wrong and how to test my code.
In the test for the flow control lab and intro to looping, there are errors in the test file.
The test flow errors are
` describe('switchAge', () => {
it('should return "You are a teenager" if age is between 13-19', () => {
expect(switchAge(15)).toEqual("You are a teenager")
})
it('should return **"You are not a teenager"** if age not between 13-19', () => {
expect(switchAge(75)).toEqual(**"You have an age"**)
expect(switchAge(7)).toEqual(**"You have an age"**)
})
})
})`
Where the it says it should return "You are not a teenager" but actually expects "You have an age"
As for the loop test, the doWhileLoop function instead of assessing
(array.length >0 || maybeTrue() = false)
it seems to be assessing
(array.length >0 && maybeTrue() = false)
where it sometimes will pass the test or fail. Where it expects the test to have a length of (l-1), it throws an error stating:
AssertionError: expected [] to have a length at most -1 but got 0
Where it expects a length of -1 instead of 0.
Here's the original problem which I think is unclear:
Create a function iLoveTheBeatles which accepts a number as a parameter. The body of the function should create a variable that stores an empty array. Then, implement a do-while loop inside the function that adds "I love the Beatles!" to the empty array. Then the loop should increment the number passed in as a parameter. The condition of the loop should check to see that the parameter number is less than 15. The function should return the array with the strings "I love the Beatles!".
This wording is confusing because it describes how your function should work instead of what it has to produce as the output. It never explicitly says that your output should contain at least one console.log statement and up to 15 console.log statements. It never says what the function is supposed to return if the parameter is greater than 15. Please clarify.
A syntax error caused learn test
to crash:
// ♥ learn test
> [email protected] test /home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001
> mocha -R mocha-multi --reporter-options nyan=-,json=.results.json
/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-core/lib/transformation/file/index.js:558
throw err;
^
SyntaxError: /home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/index.js: "i" is read-only
21 | }
22 | const outArray = [];
> 23 | for(const i = 0; i < n; i++) {
| ^
24 | outArray.push("I love the Beatles!");
25 | }
26 | return outArray;
at File.buildCodeFrameError (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-core/lib/transformation/file/index.js:427:15)
at NodePath.buildCodeFrameError (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/path/index.js:140:26)
at PluginPass.Scope (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-plugin-check-es2015-constants/lib/index.js:35:29)
at PluginPass.newFn (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/visitors.js:318:17)
at newFn (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/visitors.js:276:21)
at NodePath._call (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/path/context.js:105:12)
at TraversalContext.visitQueue (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitMultiple (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:103:17)
at TraversalContext.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:190:19)
at Function.traverse.node (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/index.js:114:17)
at NodePath.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/path/context.js:115:19)
at TraversalContext.visitQueue (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/index.js:114:17)
at NodePath.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/path/context.js:115:19)
at TraversalContext.visitQueue (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitMultiple (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:103:17)
at TraversalContext.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:190:19)
at Function.traverse.node (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/index.js:114:17)
at NodePath.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/path/context.js:115:19)
at TraversalContext.visitQueue (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:150:16)
at TraversalContext.visitSingle (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:108:19)
at TraversalContext.visit (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/context.js:192:19)
at Function.traverse.node (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/index.js:114:17)
at traverse (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-traverse/lib/index.js:79:12)
at File.transform (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-core/lib/transformation/file/index.js:516:35)
at /home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-core/lib/transformation/pipeline.js:50:19
at File.wrap (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-core/lib/transformation/file/index.js:532:16)
at Pipeline.transform (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-core/lib/transformation/pipeline.js:47:17)
at Object.transformFileSync (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/babel-core/lib/api/node.js:152:10)
at Object.<anonymous> (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/test/root.js:7:27)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Module.require (module.js:597:17)
at require (internal/module.js:11:18)
at /home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/mocha/lib/mocha.js:220:27
at Array.forEach (<anonymous>)
at Mocha.loadFiles (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/mocha/lib/mocha.js:217:14)
at Mocha.run (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/mocha/lib/mocha.js:469:10)
at Object.<anonymous> (/home/salubrious-routine-5028/js-beatles-loops-lab-bootcamp-prep-001/node_modules/mocha/bin/_mocha:404:18)
at Module._compile (module.js:653:30)
at Object.Module._extensions..js (module.js:664:10)
at Module.load (module.js:566:32)
at tryModuleLoad (module.js:506:12)
at Function.Module._load (module.js:498:3)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
npm ERR! Test failed. See above for more details.
[21:05:12] (master) js-beatles-loops-lab-bootcamp-prep-001
// ♥ Traceback (most recent call last):
11: from /usr/local/rvm/gems/ruby-2.6.1/bin/ruby_executable_hooks:24:in`<main>'
10: from /usr/local/rvm/gems/ruby-2.6.1/bin/ruby_executable_hooks:24:in`eval'
9: from /usr/local/rvm/gems/ruby-2.6.1/bin/learn-test:23:in `<main>'
8: from /usr/local/rvm/gems/ruby-2.6.1/bin/learn-test:23:in `load'
7: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/bin/learn-test:68:in `<top (required)>'
6: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:20:in `run'
5: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:20:in `fork'
4: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:21:in `block in run'
3: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:44:in `report_and_clean'
2: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/reporter.rb:13:in `report'
1: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/reporter.rb:47:in `report'
/usr/local/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)
learn test^C
This should be cleanly bubbled up to the user instead of causing the whole script to fly apart.
About once every five minutes I get a notification "John says this" or "David asked a question." I constantly hear the message noise. But once it's got my attention, the message disappears and I can't find it.
It gets extremely irritating over time to be distracted by notifications without the ability to find, read or respond to the messages. It seems like I can hear the notifications no matter where I am, but I can only see the message if I happen to be on the right page or have the right window open.
I'm getting the following message and was wondering if there's something wrong with my code or with my computer. Thank you!
[21:04:52] ~
// ♥ learn open js-beatles-loops-lab-js-apply-000
Looking for lesson...
Forking lesson...
Cloning lesson...
Opening lesson...
Installing npm dependencies...
yarn install v1.19.1
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear thiswarning, remove package-lock.json.
[1/4] Resolving packages...
warning babel-core > babel-runtime > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning babel-core > babel-register > [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
warning [email protected]: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning jsdom > [email protected]: request has been deprecated, see request/request#3142
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check.Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "mocha@>=2.2.0 <7.0.0".
[4/4] Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.22.4", while you're on "1.19.1".
info To upgrade, run the following command:
$ sudo apt-get update && sudo apt-get install yarn
Done in 7.51s.
Done.
[21:05:04] (master) js-beatles-loops-lab-js-apply-000
// ♥ learn
[email protected] test /home/empathetic-jest-3986/js-beatles-loops-lab-js-apply-000
mocha -R mocha-multi --reporter-options spec=-,json=.results.json
(node:1044) DeprecationWarning: Configuration via mocha.opts is DEPRECATED and will be removed from a future version of Mocha. Use RC files or package.json instead.
Hi,
The Beatles Loops Lab tests will not run properly. Typing in "learn test" right out of the box with no edits whatsoever gives the following results:
0 __,------,
1 __| /\_/\
0 _~|_( x .x)
_ "" ""
0 passing (28ms)
1 failing
1) "before all" hook:
Error: Cannot find module 'jsdom/lib/old-api'
at require (internal/module.js:11:18)
at Context.<anonymous> (node_modules/mocha-jsdom/index.js:53:5)
npm ERR! Test failed. See above for more details.
This has been replicated by James Rogers (Flatiron) and also by another student. It seems like perhaps some of the dependencies that are loaded are out of date, but I don't understand well enough to diagnose what's causing the problem.
Hello, when I try to check my work in the beatles lab, the system seems to malfunction. When I type "learn" this is what returns:
[email protected] test /home/BenHaugen/js-beatles-loops-lab-js-apply-000
mocha -R mocha-multi --reporter-options nyan=-,json=.results.json
1 __,------,
<--- Last few GCs --->
0 ~|( ^ .^)
[963:0x3d3a790] 48811 ms: Mark-sweep 1558.0 (1602.4) -> 1557.4 (1616.4) MB, 1
487.0 / 0.0 ms allocation failure GC in old space requested
[963:0x3d3a790] 50233 ms: Mark-sweep 1557.4 (1616.4) -> 1557.2 (1585.4) MB, 1421.5 / 0.0 ms last resort GC in old space requested
[963:0x3d3a790] 51620 ms: Mark-sweep 1557.2 (1585.4) -> 1557.2 (1585.4) MB, 1387.1 / 0.0 ms last resort GC in old space requested
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x287c39425879
1: johnLennonFacts(aka johnLennonFacts) [about:blank:~15] [pc=0x2037a1397ee0](this=0x3d8940b022d1 )
2: arguments adaptor frame: 1->0
3: /* anonymous */ [/home/BenHaugen/js-beatles-loops-lab-js-apply-000/test/index-test.js:11] [bytecode=0x88f0a0fe411 offset=17](this=0x2c2b5cf18679 )
4: callFn [/home/BenHaugen/js-beatles-loops-lab-js-apply-0...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
1: node::Abort() [/usr/bin/node]
2: 0x8c21ec [/usr/bin/node]
3: v8::Utils::ReportOOMFailure(char const*, bool) [/usr/bin/node]
4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/usr/bin/node]
5: v8::internal::Factory::NewUninitializedFixedArray(int) [/usr/bin/node]
6: 0xd4b153 [/usr/bin/node]
7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [/usr/bin/node]
8: 0x2037a12042fd
Aborted (core dumped)
npm ERR! Test failed. See above for more details.
[18:05:46] (master) js-beatles-loops-lab-js-apply-000
// ♥ /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/lib/learn_test/strategies/mocha.rb:42:in results': undefined method
[]' for nil:NilClass (NoMethodError)
from /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/lib/learn_test/reporter.rb:47:in report' from /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/lib/learn_test/reporter.rb:13:in
report'
from /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/lib/learn_test/runner.rb:44:in report_and_clean' from /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/lib/learn_test/runner.rb:21:in
block in run'
from /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/lib/learn_test/runner.rb:20:in fork' from /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/lib/learn_test/runner.rb:20:in
run'
from /usr/local/rvm/gems/ruby-2.3.1/gems/learn-test-2.5.6/bin/learn-test:68:in <top (required)>' from /usr/local/rvm/gems/ruby-2.3.1/bin/learn-test:23:in
load'
from /usr/local/rvm/gems/ruby-2.3.1/bin/learn-test:23:in `
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.