A custom JavaScript error caused an issue loading your dashboard. See the developer console for more details.

未关闭
#64 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript
领域
frontend

调研方向

Start with the Module-02_SetupPage tutorial and reproduce the dashboard setup on Splunk Enterprise 9.0.4.1. Use the developer console to inspect the 404s for react.production.min.js and react-dom.production.min.js and the related RequireJS errors in common.js. Done means the dashboard loads without the custom JavaScript error.

由索引模型根据 Issue 内容生成。

描述

I'm trying to follow this tutorial (https://github.com/splunk/splunk-app-examples/tree/master/tutorials/Module-02_SetupPage/devtutorial) to set up password for my GeneratingCommand, but getting the error "A custom JavaScript error caused an issue loading your dashboard. See the developer console for more details.". Is there a way to fix it?

react.production.min.js:1 
       Failed to load resource: the server responded with a status of 404 (Not Found)Understand this errorAI
common.js:1514 Error: Script error for: react
http://requirejs.org/docs/errors.html#scripterror
    at makeError (eval at e.exports (common.js:561:219217), <anonymous>:166:17)
    at HTMLScriptElement.onScriptError (eval at e.exports (common.js:561:219217), <anonymous>:1689:36)
d.onError @ common.js:1514Understand this errorAI
react-dom.production.min.js:1 
       Failed to load resource: the server responded with a status of 404 (Not Found)Understand this errorAI
common.js:1514 Error: Script error for: ReactDOM
http://requirejs.org/docs/errors.html#scripterror
    at makeError (eval at e.exports (common.js:561:219217), <anonymous>:166:17)
    at HTMLScriptElement.onScriptError (eval at e.exports (common.js:561:219217), <anonymous>:1689:36)
Splunk Enterprise
Version: 9.0.4.1
Build: 419ad9369127
主要语言
JavaScript
星标
155
派生
84
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

splunk/splunk-app-examples 的其他 Issue

查看 splunk/splunk-app-examples 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。