clean up PropType warnings in the console. #1557
Comments
can i pick this up towards my first contribution? |
@mansisce Absolutely! The specific warnings have changed slightly since this was filed, but we still have a few on master:
I see these two ☝️ specifically when I open a repo that has no remotes. And of course if you see any others we'd gladly merge PRs that clean them up! |
yay, thanks @mansisce ! If you need help or run into any problems, at mention me or @smashwilson and we're happy to give some guidance. |
@annthurium @smashwilson I'm getting this: PS C:\Users\pmj64\Documents\GitHub\atom> script/bootstrap -v npm ERR! A complete log of this run can be found in: gyp info it worked if it ends with ok child_process.js:624 Error: Command failed: C:\Users\pmj64\Documents\GitHub\atom\apm\node_modules\atom-package-manager\bin\apm.cmd --loglevel=error install Thanks. |
From this:
It looks like your connection to atom.io is being interrupted while apm is trying to download the Electron headers to build native dependencies. I'm not sure why this might be happening, though, especially because the four requests immediately above it seem to be completing fine. Are you behind a proxy, by any chance? But! You shouldn't actually need to build Atom yourself to test out changes to this package. atom/github is bundled and snapshotted into Atom, but for changes like this one, you don't need to do all of that. You should be able to work by linking your atom/github repository in dev mode: PS C:\Users\pmj64\Documents\GitHub\github>apm link --dev . Now, when you launch Atom in dev mode, the |
Hey, I was able to link the package in dev mode and on running atom in dev mode I'm getting different errors in the console, and not the ones mentioned. Uncaught Error: Cannot find module '../src/pane-element.js' ans so on. Also I'm not able to locally locate the files mentioned in the errors. |
I believe this has been fixed but if not please feel free to reopen 😄 |
on a clean branch synced to master, today I saw these warnings:
If props are not required, we should not mark them as required. And if they are required, we should pass them.
The text was updated successfully, but these errors were encountered: