Npm - not passing author test - No 'Access-Control-Allow-Origin' header is present

Update: I tried out solution I found on post APIs and Microservices Certification: test with Repl.it URL does not work
So, I clicked on the link, typed npm install and hit run. Yes, I see another url, the one that is suggested.
I still wasn’t passing the tests. I hit STOP and then RUN again, and I got through!