Error: uncaughtexception: cannot find module ‘internal / util / types’

Solution:
It is because the version does not match. I installed appium version is 1.4.16, and node version is v7.3.0, uninstalled node, and installed v6.9.4, perfect solution~
v6.9.4 download: v6.9.4 address
The error is as follows:
error: uncaughtException: Cannot find module ‘internal/fs’ date=Thu May 17 2018 20:39:28 GMT+0800, pid=8620, uid=null, gid=null, cwd=D:\appium\node_modules\appium, execPath=C:\Program Files\nodejs\node.exe, version=v7.9.0, argv=[C:\Program Files\nodejs\node.exe, D:\appium\node_modules\appium\bin\appium.js], rss=98328576, heapTotal=77393920, heapUsed=50451736, external=666939, loadavg=[0, 0, 0], uptime=34546.8093825, trace=[column=15, file=module.js, function=Function.Module._resolveFilename, line=470, method=Module._resolveFilename, native=false, column=25, file=module.js, function=Function.Module._load, line=418, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=498, method=require, native=false, column=19, file=internal/module.js, function=require, line=20, method=null, native=false, column=20, file=evalmachine.<anonymous>, function=null, line=18, method=null, native=false, column=1, file=D:\appium\node_modules\appium\node_modules\md5calculator\node_modules\unzip\node_modules\fstream\node_modules\graceful-fs\fs.js, function=, line=11, method=null, native=false, column=32, file=module.js, function=Module._compile, line=571, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions..js, line=580, method=Module._extensions..js, native=false, column=32, file=module.js, function=Module.load, line=488, method=load, native=false, column=12, file=module.js, function=tryModuleLoad, line=447, method=null, native=false, column=3, file=module.js, function=Function.Module._load, line=439, metho

Read More: