Skip to content

can not work #28

@MrYZhou

Description

@MrYZhou

i use like this

`import { webContents, ipcMain, app, BrowserWindow, protocol } from "electron"

import path from "path"
import { gitLog } from "./util/gitHash"
let xlsx = require("node-xlsx")
let fs = require("fs")

// 热更新
try {
require('electron-reloader')(module);
} catch (e) {
console.log(e,'错误');
}`

but show error

[7436:0111/155148.798:ERROR:cache_util_win.cc(20)] Unable to move the cache: 拒绝访问。 (0x5)
[7436:0111/155148.798:ERROR:cache_util.cc(145)] Unable to move cache folder C:\Users\JNPF\AppData\Roaming\toolbox\GPUCache to C:\Users\JNPF\AppData\Roaming\toolbox\old_GPUCache_000

by the way,i use ts, Whether there are other configurations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions