当我尝试使用启动干净的UI主题时,会出现此消息'ng serve'.我是Angular的新手,我坚持这个......请帮助我.我尝试重新安装npm install.我尝试重新安装Angular CLI客户端.请尽可能指导.
Error: Cannot find module 'ng-factory' from '/home/varun/Documents/WorkSpace/EasyRyde/cleanui-Mywork'
at Function.module.exports [as sync] (/usr/lib/node_modules/ng-cli/node_modules/resolve/lib/sync.js:40:15)
at module.exports (/usr/lib/node_modules/ng-cli/node_modules/resolve-require/lib/index.js:10:24)
at Command.<anonymous> (/usr/lib/node_modules/ng-cli/lib/index.js:49:5)
at Command.listener (/usr/lib/node_modules/ng-cli/node_modules/commander/index.js:315:8)
at emitTwo (events.js:126:13)
at Command.emit (events.js:214:7)
at Command.parseArgs (/usr/lib/node_modules/ng-cli/node_modules/commander/index.js:651:12)
at Command.parse (/usr/lib/node_modules/ng-cli/node_modules/commander/index.js:474:21)
at Object.<anonymous> (/usr/lib/node_modules/ng-cli/lib/index.js:55:9)
at Module._compile (module.js:643:30)`enter code here`
Run Code Online (Sandbox Code Playgroud) 当升级到react-native 0.61.2时,这个问题出现了。我做到了,从移动设备中删除了 apk 并使用自动链接
react-native link
Run Code Online (Sandbox Code Playgroud)
然后
react-native run-android
Run Code Online (Sandbox Code Playgroud)
但问题确实存在。