Skip to content

Tag: node.js

Hapijs server start error – Invalid server options

I am using this simple server program which gave me the following error on server startup and my package.json has dependencies set this way I tried searching for this issue everywhere and found an exact one here but the versions are too old to be compared. How do I resolve this problem? Answer The options you…

How to import ipcRenderer in react?

I’ve tried to import ipcRenderer in react app but I get this error message : require is not defined Answer You need to use Otherwise it will try to import it from Webpack or whatever module bundler you use. You can checkout this thread for a better explanation: https://github.com/electron/electron/issue…