learn-co-curriculum / git-basics-lab Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Running learn
in both the in-browser and desktop IDE results in the following error message:
/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha/lib/reporters/base.js:300
runner.stats = stats;
^
TypeError: Cannot set property stats of #<EventEmitter> which has only a getter
at Spec.Base (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha/lib/reporters/base.js:300:16)
at new Spec (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha/lib/reporters/spec.js:30:8)
at withReplacedStdout (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha-multi/mocha-multi.js:220:21)
at withReplacedStdout (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha-multi/mocha-multi.js:146:12)
at setup.map (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha-multi/mocha-multi.js:216:14)
at Array.map (<anonymous>)
at initReportersAndStreams (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha-multi/mocha-multi.js:208:6)
at mochaMulti (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha-multi/mocha-multi.js:267:31)
at new MochaMulti (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha-multi/mocha-multi.js:293:25)
at Mocha.run (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha/lib/mocha.js:582:18)
at Object.<anonymous> (/home/bionic-template-4026/git-basics-lab-online-web-sp-000/node_modules/mocha/bin/_mocha:637: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
[18:44:08] ((HEAD detached at 7114f63)) git-basics-lab-online-web-sp-000
// ♥ 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)
I was able to reproduce this with @BlythePollard.
Every time I try to push the local repository to a remote one I created on Github the learnIDE doesn't allow me to write the password of my account, I tried this several times and end up getting stuck all over again.
I added a folder and readme.md file within my project on the in browser learn ide. I can use the ls command to see the folders, but they weren't showing up in the browser. After running learn, that test passed and now the folder shows, but there are other errors now that I am not sure are with the syncing or how I input the commands. This is frustrating as I feel like I completed it correctly, yet my tests are failing. I don't know if I'm wrong, or if learn is just having issues.
I have worked with many students that get lost trying to debug github issues due to running git commands in the wrong directory in the IDE (in the parent directory rather than in the my-repository directory they have created).
This often leads to them spending a very long time on this lab trying to debug complex git issues, which detracts from what they should have learned from this lesson.
I think removing the instruction to switch back and forth between the parent directory and my-repository
to run the tests after every step and being more explicit about where each commend should be run should help quite a bit.
When trying to push my changes to my remote branch I am prompted to sign in to GitHub and when I logged in using my credentials I get an unauthorized error and my lab is still failing with one error that my changes have not been pushed.
command: git-basics-lab-v-000>git push origin master
Logon failed, use ctrl+c to cancel basic credential prompt.
Username for 'https://github.com': sequina
Password for 'https://[email protected]':
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/sequina/git-basics-lab-v-000.git/'
I haven't found clear instructions on how to have my own IDE record lab progress throughout this course. I can fork and clone, but the learn site doesn't show that it happened. And, obviously, my terminal isn't able to recognize the learn command. Is this functionality not possible?
i think there's an issue with the test(s) for this lab; i'm passing all six tests but running into errors when i run learn test
, getting the following message on the last check in the index-test.js file (even when creating a final test that just returns true
):
.rvm/gems/ruby-2.4.1/gems/learn-test-2.5.6/lib/learn_test/strategies/mocha.rb:45:in results': undefined method
[]' for nil:NilClass (NoMethodError)
this is bin happening for past 5 hours
(There was a problem cloning this lesson. Retrying...
Cloning lesson...
Cloning lesson...
Cannot clone this lesson right now. Please try again.)
When running the learn code on both the Git Basic Lab and the Merge conficts lab it does not return and test report so it is not letting me complete those two labs.
My connection keeps cutting out and it isn't allowing me to cd back to the original file location to test my lab.
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.