npm ERR! 在运行 age-viewer-go 的 wails dev 或 wails build 命令时发生错误。

huangapple go评论138阅读模式
英文:

npm ERR! while running wails dev or wails build command for age-viewer-go

问题

我需要在运行wails devwails 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.

npm ERR! 在运行 age-viewer-go 的 wails dev 或 wails build 命令时发生错误。

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

npm ERR! 在运行 age-viewer-go 的 wails dev 或 wails build 命令时发生错误。

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

huangapple
  • 本文由 发表于 2023年4月30日 19:17:08
  • 转载请务必保留本文链接:https://go.coder-hub.com/76140956.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定