简体   繁体   中英

npm live-server this app can't run on your pc

I'm learning react, and Installed live-server via npm globally. Each time i try to serve the directory (live-server public), i get a windows error saying - "this app can't run on your pc" 在此处输入图片说明

I am using windows 8.1

I found the problem, the problem was that live-server was trying to render my app using a browser but the default chrome browser was having issues so it kept popping that error.

The solution was just to set Firefox as my default browser from the control panel. Control Panel>default programs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM