Closed aw1875 closed 2 years ago
I should note, I'm assuming theres something I'm missing within the webpack rules but like I said I'm not super experienced with this route so I'm not sure what exactly I'm missing if that is the case.
I tried to import those packages on a fresh clone and interestingly got another error than you.
However, I had issues with importing modules in this codebase before. The dependency @marshallofsound/webpack-asset-relocator-loader
is no longer maintained but thankfully @timfish put this together https://github.com/timfish/webpack-asset-relocator-loader.
npm install --save-dev @timfish/webpack-asset-relocator-loader
webpack/rules.webpack.js
and replace @marshallofsound
with @timfish
.@timohausmann I was actually able to find a solution to pack up the modules properly but I appreciate the heads up about the dependency no longer being maintained! I will definitely switch over the the one you suggested. Thanks!
I'm trying to incorporate either playwright or puppeteer within my app so that I can use the tool for testing websites I create but I'm having issues. This issue I'm created is related to playwright. I installed playwright using
npm i --save-dev playwright
and have included it inside of mymain.ts
with:However, when I try to start the program I get an error message popup and this message:
I'm not entirely sure what I'm doing wrong as I'm a little new to using typescript with electron and react. I've done something similar using just react and electron in the past with no issues so I'm a little confused what I'm doing wrong.