Skip to content

Instantly share code, notes, and snippets.

View legodude17's full-sized avatar
🙃
Failing at code

Joshua legodude17

🙃
Failing at code
View GitHub Profile
@legodude17
legodude17 / troubleshoot.md
Last active December 15, 2016 21:23
My trouble shooting guide for npm

Troubleshooting Guide

My troubleshooting guide for npm. I use it to help people with their issues on the npm issue tracker.

Follow the arrows:

  1. What is the error?
  • shasum check failed -> File an issue with npm/registry
  • Error parsing json -> 2
  • Missing script -> Make sure you have a start script in package.json
@vogonistic
vogonistic / repl_bot.js
Created January 25, 2013 04:15
REPL example bot for mineflayer. Allows testing javascript over CLI to speed up development.
// REPL example bot for mineflayer
//
// Connects to server but doesn't have any built in logic. The terminal where
// it was started is now a REPL (Read-Eval-Print-Loop). Anything typed will be
// interpreted as javascript printed using util.inspect. Don't forget to try
// tab completion. These variables are exposed as local:
//
// var mineflayer = require('mineflayer');
// var bot = mineflayer.createBot({ username: 'REPL' });
//