Debugging Electron js错误-找不到文件
我有一个electron应用程序,所以在我的Debugging Electron js错误-找不到文件,debugging,electron,Debugging,Electron,我有一个electron应用程序,所以在我的仪表板页面中,我得到一个错误,如下所示 Error: Unhandled "error" event.(File not found) 我正在使用tradingview小部件 var widget = new TradingView.widget({ // debug: true, // uncomment this line to see Library errors and warnings in the console
仪表板
页面中,我得到一个错误,如下所示
Error: Unhandled "error" event.(File not found)
我正在使用tradingview小部件
var widget = new TradingView.widget({
// debug: true, // uncomment this line to see Library errors and warnings in the console
fullscreen: true,
symbol: 'AA',
interval: 'D',
container_id: "tv_chart_container",
// BEWARE: no trailing slash is expected in feed URL
datafeed: new Datafeeds.UDFCompatibleDatafeed("http://abc.loc/api"),
library_path: "../../assets/charting_library/",
locale: "en",
// Regression Trend-related functionality is not implemented yet, so it's hidden for a while
drawings_access: { type: 'black', tools: [ { name: "Regression Trend" } ] },
disabled_features: ["use_localstorage_for_settings"],
enabled_features: ["study_templates"],
charts_storage_url: 'http://saveload.tradingview.com',
charts_storage_api_version: "1.1",
client_id: 'tradingview.com',
user_id: 'public_user_id'
});
如何获取找不到的文件名。谢谢 您能提供更多详细信息吗?我正在使用tradingview小部件,并且在配置中为小部件选择了配置路径。因此,我在尝试显示仪表板页面时出错。