diff --git a/imports/engine.ts b/imports/engine.ts index 0e35f907..64d9803b 100644 --- a/imports/engine.ts +++ b/imports/engine.ts @@ -8,7 +8,7 @@ import Debug from 'debug'; import fixPath from 'fix-path'; import { fileURLToPath } from 'url'; -const packageJson = require(`${process.cwd()}/package.json`); +const packageJson = require(path.normalize(`${process.cwd()}/package.json`)); function isElectron() { // @ts-ignore