Closed barbalex closed 2 years ago
You need to keep the transitive dependency on node-abi
up to date, luckily because you're using yarn
this is quite easy.
npx uuaw node-abi
😄
I tried three things:
npx uuaw node-abi
. Which produced this error:
PS C:\Users\alexa\awel-personal> npx uuaw node-abi
Need to install the following packages:
uuaw
Ok to proceed? (y) y
C:\Users\alexa\AppData\Local\npm-cache\_npx\02cd06b8297c5953\node_modules\@yarnpkg\lockfile\index.js:5064
throw new SyntaxError(`${msg} ${this.token.line}:${this.token.col} in ${this.fileLoc}`);
^
SyntaxError: Unknown token: { line: 4, col: 2, type: 'INVALID', value: undefined } 4:2 in lockfile
at Parser.unexpected (C:\Users\alexa\AppData\Local\npm-cache_npx\02cd06b8297c5953\node_modules\@yarnpkg\lockfile\index.js:5064:11)
at Parser.parse (C:\Users\alexa\AppData\Local\npm-cache_npx\02cd06b8297c5953\node_modules\@yarnpkg\lockfile\index.js:5193:14)
at parse (C:\Users\alexa\AppData\Local\npm-cache_npx\02cd06b8297c5953\node_modules\@yarnpkg\lockfile\index.js:5262:17)
at Object.module.exports.exports.default (C:\Users\alexa\AppData\Local\npm-cache_npx\02cd06b8297c5953\node_modules\@yarnpkg\lockfile\index.js:4835:96)
at Object.
I am not quite sure how to go on. Maybe I would have to force using node_abi after installing it? (I forget how it is called but yarn has or used to have a way to do that).
After updating an electron app to electron version 16.0.0, when running
electron-forge start
I get this error: