We need to audit HowToNPM and figure out whether outstanding pull requests exist that can fix our current issues with it.
I had previously recommended campers stop going after they finished challenge 11 (#3685) but it looks like challenge 10 might be broken now, too: https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7073
Here's the largely inactive repo: https://github.com/npm/how-to-npm
Here's what I propose we do:
If that doesn't work, we may need to maintain a fork ourselves, which would be undesirable but not out of the question.
Everything up to and with challenge 10 worked for me
hi! i'm ashley. i'd love to help. i don't have bandwidth to test all the PRs but if ya'll would like to help with that i can definitely manage merging and new releases and such. just let me know :)
there are several specific bugs re path names on Windows that i'm aware of and could help point ya'll at .
@ashleygwilliams Thanks! I think we can find a couple of people to test out PR's.
@ashleygwilliams looking to contribute to oss for the first time. Wondering where you are with this and if there is anything I can do to help
hey @haasdev, this workshopper was not originally my project, i inherited it and have not really done much but try to maintain it. i'm p much open to onboarding new contributors since my day to day doesn't allow me to really maintain it the way it needs.
ok do you just want me to get started by following the path quincy suggested?
Tyler Haas
Web Developer
[email protected]
(208) 406 - 3322
On Feb 18, 2016, at 8:38 AM, ashley williams [email protected] wrote:
hey @haasdev https://github.com/haasdev, this workshopper was not originally my project, i inherited it and have not really done much but try to maintain it. i'm p much open to onboarding new contributors since my day to day doesn't allow me to really maintain it the way it needs.
—
Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7080#issuecomment-185779943.
sure- the key is going to be whether you are on windows or not. there is a significant Windows path issue.
some degrees of complication that you may or may not have considered also:
sudo
)^^ those are the primary degrees of complexity we are dealing with
I am using OS X. will I not be able to replicate the issue?
Tyler Haas
Web Developer
[email protected]
(208) 406 - 3322
On Feb 18, 2016, at 8:42 AM, ashley williams [email protected] wrote:
sure- the key is going to be whether you are on windows or not. there is a significant Windows path issue.
some degrees of complication that you may or may not have considered also:
permissions and how the user chose to fix them
did they install node using nvm, or another package manager, or the installer
are they using this workshopper behind a proxy
^^ those are the primarily degrees of complexity we are dealing with—
Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7080#issuecomment-185782369.
no, you cannot replicate the Windows path issue on OSX. I have a Windows dualboot I use, but as I said, I can't make this a priority rn. You might consider dual booting as well?
How can I do that?
Tyler Haas
Web Developer
[email protected]
(208) 406 - 3322
On Feb 18, 2016, at 8:46 AM, ashley williams [email protected] wrote:
no, you cannot replicate the Windows path issue on OSX. I have a Windows dualboot I use, but as I said, I can't make this a priority rn. You might consider dual booting as well?
—
Reply to this email directly or view it on GitHub https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7080#issuecomment-185784178.
Please google.
I don't think the issues FCC is facing pertain to:
permissions and how the user chose to fix them (or not fix them and is using sudo)
did they install node using nvm, or another package manager, or the installer
are they using this workshopper behind a proxy
do they have admin on their machine
Or windows/mac/linux( @haasDev ).
Because the lesson specifically tells you how to run the challenge under a Cloud9 instance, which runs its on linux of some sort, and you have access to sudo, and are told how to install it(NPM) i believe and the proxy thing would be a consistent yes or no when it comes to this use case. But I think they should have an easier time solving the issues since you arent non-existed @ashleygwilliams and @BerkeleyTrue says he can find some people to test them!
it turns out that your fixes _will_ need to not break other people's experience which won't be on Cloud9, as evidenced by https://github.com/npm/how-to-npm/issues.
i won't merge them unless i know that they won't do that. so while your experience might be easier to fix because it is heavily sandboxed, you will need to consider other environments while writing patches.
@ashleygwilliams not sure if this helps with this issue but I just got to this challenge and I had some serious issues with it. When it came to publish step 08. It told me that I was not authorised and needed to create a new user npm adduser
but I had already created a user (which it turns out is not a fake one!) I could still pass verify but haven't published anything. I now cannot get past the second publish step and get a lot of errors
i do not have bandwidth to maintain that project right now (as previously stated), i am happy to receive PRs. this issue is _not_ a place to files bugs on the workshop.
@ashleygwilliams sorry I should have read the thread better. I'm still a bit new to this.
I just ran how-to-npm recently just to refresh my memory on some points, mostly the version command, and I was able to complete everything, both locally on my Ubuntu installation, and since it worked there I tried it again on cloud 9 and was able to do it there as well. Since I remembered having seen this issue here I thought I'd mention it.
some of the issues seem to stem from missing the .npmrc file. If you look at the screenshot on #7515 you don't see the file listed.
Something I might have done differently on cloud9, I deleted all the files and directories cloud9 added aside from the .c9 directory before installing how-to-npm and running it the first time.
There's definitely an issue with the Dist Tag challenge if you do it on Cloud9. It took me 2-3 hours to realize that. I tried all the solutions I could find on Gitgub and Stackoverflow.
npm dist-tag add @hutstep/[email protected] testit
and
npm dist-tag add [email protected] testit
I started all over again with HowToNPM a few times. I created new workspaces on C9. I deleted everything in the workspace folder before installing HowToNPN. Nothing worked.
Always this error:
404 missing : -/package/npmtest/dist-tags
I then installed HowToNPN on my local Linux box, and everything worked the first time I tried!
Something else I noticed. When you call npm ls
On C9 it shows only [email protected]
at the top, but on my local machine it shows @hutstep/[email protected]
Edit: I just noticed that there's already an open issue about C9 referenced above my post.
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8680
Seems to be related.
Okay, I tried it again on Cloud9. But this time with a blank project, NOT Node.js, like @jnmorse mentioned it here https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8680#issuecomment-221555728
It worked the first time, no issues. npm and node are already installed.
Most helpful comment
Okay, I tried it again on Cloud9. But this time with a blank project, NOT Node.js, like @jnmorse mentioned it here https://github.com/FreeCodeCamp/FreeCodeCamp/issues/8680#issuecomment-221555728
It worked the first time, no issues. npm and node are already installed.