I’m installing a package from GitHub using npm. I’m doing this because I need to change a package called ‘klasa’ to fit my needs.
This is in my package.json: "klasa": "github:username/reponame#master"
I’m getting this fatal error: TypeError: Cannot read property 'access' of undefined.
Hi @chrissie1234 is that the precise content that’s in your package.json? That doesn’t refer to a real GitHub repo, so it won’t work as is. Perhaps if you share your project name someone can give specific guidance.
Thanks for the extra info, @chrissie1234! I’m able to install everything as expected from that package.json, so the undefined error message is coming from somewhere else in your code, which seemed likely. We’ll probably need to see the relevant code to be able to be of further help.