英文:
npm ERR! while running wails dev or wails build command for age-viewer-go
问题
我需要在运行wails dev
或wails build
命令时运行age-viewer-go项目。当我在主目录中运行这些命令时,它可以正常运行,但只显示一个带有启动按钮的页面,而该按钮无法工作。
我问了一个朋友,他告诉我在age-viewer文件夹中(根文件夹age-go的子文件夹)运行wails dev
命令。
当我尝试在age-viewer文件夹中运行wails dev
命令时,遇到了以下错误。
请有人帮助我解决这个错误。
英文:
I need to run the age-viewer-go project when I run wails dev
or wails build
command in the main directory it run well but only one page is shown up with start button and that button does not work.
I asked a friend he told me to run waisl dev
command in the age-viewer folder (a sub folder in the root folder (age-go)
when I tried wails dev
command in the age-viewer folder it encountered the following error
kindly someone help me to resolve the error
答案1
得分: 2
我在运行apache-age-viewer桌面应用程序的前端时遇到了类似的错误,只需安装react-router-dom即可解决此错误:
npm install react-router-dom
英文:
I had a similar error while running the front-end of apache-age-viewer Desktop app, Just simply install the react-router-dom to solve this error:
npm install react-router-dom
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论