I also have the following error after updating npm with the exercise 00.
It break down npm and doesnt work anymore if i update it.
Error: Cannot find module 'process-nextick-args’
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/readable-stream/lib/_stream_readable.js:26:23)
at Module._compile (module.js:570:32)
at Object.Module._extensions…js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
Hey @C3ya, when I tried to publish my npm package the first time, I had picked a name that already existed in npm registry. I was able to publish my package after giving it a unique name. You can search for existing packages here: https://www.npmjs.com.
Just now, I created a new workspace and tried to go through the how-to-npm exercises again and got the same error as you after upgrading the npm version. I guess there is currently a problem with the latest version.
So I created yet another workspace and skipped upgrading the npm version and was able to publish a package. Also, now it seems like the how-to-npm exercise to publish your package only publishes to the “make-believe npm workshop land”
I hope this helps and good luck for getting through the exercises. Happy to try and help with any other problems too.
Thank you for sharing your experience and contributing my issue too.
As you say, if you dont upgrade npm things look ok with c9. On the other hand how-to-npm is leveraging to make the upgrade. So it pissed me off not to be able to work after upgrade
So I hope you didnt have any other issues with the obsolete version of the npm.
I tried the same steps with my local computer and everything was allright. I think the problem is with the ubuntu instance at c9.