Closed elenaaralla closed 2 weeks ago
Did you sort this one out? I'm having the same issue.
No, sorry... no help for this issue :(
for now I have abandoned this project ... I hope you have better luck. Good day.
Let me know if you'll sort it out, thank you.
I have the same behavior on RHEL 7.2.
I am also currently experiencing this problem.
` return edge.initializeClrFunc(options);
^
TypeError: Cannot read property 'initializeClrFunc' of undefined`
but the module is being loaded correctly as it returns a function on console.log(edge) using the electron-edge package. Node : 6.4.0 NPM: 4.3.0
Have all the necessary requirements installed of all the correct versions on windows 7 64 bit
I have here a similar issue. Anyone can help, please?
$ node sample C:\Projetos\VSCodeExtension\EdgeElectronTest\node_modules\electron-edge\lib\edge.js:169 return edge.initializeClrFunc(options); ^
TypeError: Cannot read property 'initializeClrFunc' of undefined
at Object.exports.func (C:\Projetos\VSCodeExtension\EdgeElectronTest\node_modules\electron-edge\lib\edge.js:169:16)
at Object.
The error appears to be related to electron-edge
package only and not edge
. Perhaps because its built specifically for electron it should also be tested in electron app and not in console.
I found the problem and yes, this is a electron-edge specific error. The solution was use version 6.5.2 of gem. For some reason that I don't know works with older version.
The reason is that electron-edge use specific target to build the edge.
In tools\build.bat
"%NODEEXE%" "%GYP%" configure build --target=1.6.2 --dist-url=https://atom.io/download/atom-shell --msvs_version=2015 -%FLAVOR%
The target is the corresponding node-gyp(iojs) version that matches the electron version. You can find the installed versions in .node-gyp
and .electron
folders in your %UserProfile%
If you have the wrong version of electron running the app other than one edge module is built for above error could occur.
Hi,
I'm testing edge, but I've some problem...
I'm working on MAC OSX El Capitain (v 10.11.6)
I installed all the prerequisites, as described in https://github.com/tjanczuk/edge/#building-on-osx (Homebrew, Mono x64, node.js x64) without problem.
I installed edge without error.
I created server.js as described in https://github.com/tjanczuk/edge/ (How to: C# hello, world section)
but when i run
$>node server.js
this error occurred:
can anyone help me?
Thank you very much, elena.