I successfully yarn added this package to my Electron 11 application.
However when Typescript is compiling, I see this issue:
Module build failed: Error: no such file or directory, open '/Users/andrewschreiber/git/focusbase/node_modules/cross-spawn/node_modules/path-key/index.js' node_modules/cross-spawn/node_modules/path-key/index.js
The error doesn't go away after yarn remove. I need to rm -rf node_modules & yarn cache clean, then run yarn again in order to return to a clean slate.
I successfully yarn added this package to my Electron 11 application.
However when Typescript is compiling, I see this issue:
Module build failed: Error: no such file or directory, open '/Users/andrewschreiber/git/focusbase/node_modules/cross-spawn/node_modules/path-key/index.js' node_modules/cross-spawn/node_modules/path-key/index.js
The error doesn't go away after
yarn remove
. I need torm -rf node_modules
&yarn cache clean
, then run yarn again in order to return to a clean slate.