电子js错误 - 找不到文件

时间:2018-05-15 10:58:45

标签: debugging electron

我有一个电子应用,所以在我的dashboard页面中,我收到的错误是这样的

Error: Unhandled "error" event.(File not found)

我正在使用tradingview widget

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'
    });

如何获取无法找到的文件名。谢谢!

0 个答案:

没有答案