I have installed Buffer module via npm install Buffer
on my machine and I want to simply import it to the renderer process to use the Buffer
When I use this:
const Buffer = require('Buffer')
it says require is undefined.
none of the solutions on stack overflow are working...
Please help...
https://stackoverflow.com/questions/67278040/using-npm-module-in-renderer-process-of-electron April 27, 2021 at 02:34PM
没有评论:
发表评论