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
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:
- [Solved] internal/modules/cjs/loader.js:892 ^Error: Cannot find module ‘C:\Users\LX\Desktop\Node_DEMO\a
- [Solved] webpack.config.js configuration encountered Error: Cannot find module’@babel/core’&&Cannot find module’@babel/plugin-transform-react-jsx’
- Angular6 rxjs start error in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ‘;’ expected.
- NPM start project error: cannot find module ‘webpack’ problem solution
- [Solved] Error: Cannot find module ‘webpack-cli/package.json‘
- [Solved] habse Start Error: Error: Could not find or load main class org.apache.hadoop.hbase.util.GetJavaProperty
- NPM run dev Error Module build failed: Error: Cannot find module ‘node-sass’
- ImportError: No module named google.protobuf.internal
- [Solved] TS Error: Could not find a declaration file for module
- Error: Cannot find module ‘png-js‘ [How to Solve]
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- [Solved] npm Error: Error: Cannot find module ‘postcss-loader‘
- How to Solve Koa Error: Cannot find module ‘koa-router‘
- NPM install error: Cannot find module ‘D:\zip\node_modules\npm\bin\npm-cli.js‘
- How to Solve Error: Cannot find module ‘webpack/lib/RequestShortener’
- [Solved] truffle Error: Cannot find module ‘truffle-hdwallet-provider‘
- [Go] Solve can’t load package: cannot find module providing package github.com/xxxxx
- When starting Vue project: cannot find module ‘webpack cli / bin / config yargs’ error resolution
- [Solved] Webpack compilation Error: Cannot find module’webpack-cli/bin/config-yargs’