Giter Club home page Giter Club logo

git-basics-lab's Issues

Tests won't run in IDE (in-browser or desktop)

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&#96;<main>'
        10: from /usr/local/rvm/gems/ruby-2.6.1/bin/ruby_executable_hooks:24:in&#96;eval'
         9: from /usr/local/rvm/gems/ruby-2.6.1/bin/learn-test:23:in &#96;<main>'
         8: from /usr/local/rvm/gems/ruby-2.6.1/bin/learn-test:23:in &#96;load'
         7: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/bin/learn-test:68:in &#96;<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 &#96;run'
         5: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:20:in &#96;fork'
         4: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/runner.rb:21:in &#96;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 &#96;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 &#96;report'
         1: from /usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/reporter.rb:47:in &#96;report'
/usr/local/rvm/gems/ruby-2.6.1/gems/learn-test-2.6.1/lib/learn_test/strategies/mocha.rb:42:in &#96;results': undefined method &#96;[]' for nil:NilClass (NoMethodError)

I was able to reproduce this with @BlythePollard.

LearnIDE not letting me write my password

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.

git and learn not syncing

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.

Lab design leads often leads to git issues, especially for IDE users

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.

Git push prompts for your password

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/'

Git and Flatiron

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?

issue with lab

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)

git-basics-lab

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.)

IDE seems not to be working

My connection keeps cutting out and it isn't allowing me to cd back to the original file location to test my lab.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.