Open rexagod opened 5 years ago
Hello, I'm taking this issue I'll update it shortly.
Hello, I'm very new at this so I could use some help I edited the file to look like this :
const envVars = require('../.env_vars'); const path = require('path'); const liveServer = path.join('../node_modules', 'live-server');
exports.matcherInitQuery = ${liveServer} ${envVars.MATCHER_PATH} --no-browser --quiet --port=${envVars.PORT} &
;
and I created a local branch but I got permission denied. Now if you can help me out with two things: 1) does this correctly address the issue? 2)what to do with the permission denied that I'm getting
Can you share more info regarding your permission denied error? Where exactly did you get this error? A picture snapshot or error stack trace would be helpful.
path.join is not required here and at least the way you used it doesn't help. Use this instead:
const liveServerNPMModulePath = require('../node_modules/live-server/live-server');
If the permission denied error is occurring when you git commit, it's because you are trying to commit to publiclab/matcher-cli directly, instead you should try to fork the publiclab/matcher-cli first and then create a feature branch on your own repository and then do a pull request from your forked repo feature branch to the publiclab/macther-cli master branch. More on this here: https://publiclab.org/notes/warren/11-22-2017/use-git-and-github-to-contribute-and-improve-public-lab-software
Also @rexagod there appear to be some lint errors occurring in the matcher-summon.js file due to unused functions.
Hello @rexagod Could I take it in progress?
As I see husky prevents me from commit as per unused function declarations in src/matcher-summon.js
. Should I remove them as well in a separate commit?
@ant-plotnikov I think you should go ahead and do a pull request. I am not sure about the unused code though.
PR opened
https://github.com/publiclab/matcher-cli/pull/17 I have attached here the pull request for the same.
Hi, this is a first-timers-only issue. This means we've worked to make it more legible to folks who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.
If that's you, we're interested in helping you take the first step and can answer questions and help you out as you do. Note that we're especially interested in contributions from people from groups underrepresented in free and open source software!
We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you π
If you have contributed before, consider leaving this one for someone new, and looking through our general help wanted issues. Thanks!
π€ What you will need to know.
Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.
π Step by Step
[ ] π Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!
[ ] π Update: In this one, you need to replace the (assumed) global
live-server
keyword by its respective node_modules path. https://github.com/publiclab/matcher-cli/blob/0bf71868eca76bfc25c8e277bf318257bb8edc6f/utils/matcher-init-query.js#L3[ ] πΎ Commit your changes
[ ] π Start a Pull Request. There are two ways how you can start a pull request:
If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.
You can also edit files directly in your browser and open a pull request from there.
π€β Questions?
Leave a comment below!
Is someone else already working on this?
We encourage you to link to this issue by mentioning the issue # in your pull request, so we can see if someone's already started on it. If someone seem stuck, offer them some help! Otherwise, take a look at some other issues you can help with. Thanks!