{"action":"created","issue":{"url":"https://api.github.com/repos/agracio/edge-js-quick-start/issues/3","repository_url":"https://api.github.com/repos/agracio/edge-js-quick-start","labels_url":"https://api.github.com/repos/agracio/edge-js-quick-start/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/agracio/edge-js-quick-start/issues/3/comments","events_url":"https://api.github.com/repos/agracio/edge-js-quick-start/issues/3/events","html_url":"https://github.com/agracio/edge-js-quick-start/issues/3","id":307004991,"number":3,"title":"Fails out of the box with error 0x80070002","user":{"login":"rktect","id":9354497,"avatar_url":"https://avatars3.githubusercontent.com/u/9354497?v=4","gravatar_id":"","url":"https://api.github.com/users/rktect","html_url":"https://github.com/rktect","followers_url":"https://api.github.com/users/rktect/followers","following_url":"https://api.github.com/users/rktect/following{/other_user}","gists_url":"https://api.github.com/users/rktect/gists{/gist_id}","starred_url":"https://api.github.com/users/rktect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rktect/subscriptions","organizations_url":"https://api.github.com/users/rktect/orgs","repos_url":"https://api.github.com/users/rktect/repos","events_url":"https://api.github.com/users/rktect/events{/privacy}","received_events_url":"https://api.github.com/users/rktect/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-20T19:22:29Z","updated_at":"2018-03-27T14:02:40Z","closed_at":null,"author_association":"NONE","body":"I believe typically this is a file not found error - but I'm getting this running this sample:\r\n\r\n`module.js:672\r\n  return process.dlopen(module, path._makeLong(filename));\r\n                 ^\r\nError: Call to coreclr_create_delegate() for G failed with a return code of 0x80070002.\r\n    at Object.Module._extensions..node (module.js:672:18)\r\n    at Module.load (module.js:556:32)\r\n    at tryModuleLoad (module.js:499:12)\r\n    at Function.Module._load (module.js:491:3)\r\n    at Module.require (module.js:587:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (D:\\dev\\code\\edge-js-quick-start-master\\edge-js-quick-start-master\\node_modules\\edge-js\\lib\\edge.js:53:8)\r\n    at Module._compile (module.js:643:30)\r\n    at Object.Module._extensions..js (module.js:654:10)\r\n    at Module.load (module.js:556:32)`\r\n\r\nAny ideas how to resolve this?"},"comment":{"url":"https://api.github.com/repos/agracio/edge-js-quick-start/issues/comments/376536601","html_url":"https://github.com/agracio/edge-js-quick-start/issues/3#issuecomment-376536601","issue_url":"https://api.github.com/repos/agracio/edge-js-quick-start/issues/3","id":376536601,"user":{"login":"rktect","id":9354497,"avatar_url":"https://avatars3.githubusercontent.com/u/9354497?v=4","gravatar_id":"","url":"https://api.github.com/users/rktect","html_url":"https://github.com/rktect","followers_url":"https://api.github.com/users/rktect/followers","following_url":"https://api.github.com/users/rktect/following{/other_user}","gists_url":"https://api.github.com/users/rktect/gists{/gist_id}","starred_url":"https://api.github.com/users/rktect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rktect/subscriptions","organizations_url":"https://api.github.com/users/rktect/orgs","repos_url":"https://api.github.com/users/rktect/repos","events_url":"https://api.github.com/users/rktect/events{/privacy}","received_events_url":"https://api.github.com/users/rktect/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T14:02:40Z","updated_at":"2018-03-27T14:02:40Z","author_association":"NONE","body":"Thanks for looking into this - it is very much appreciated!\r\n\r\nI pulled the latest from github and re-compiled - and still get the same errors as above.\r\n\r\n`module.js:672\r\n  return process.dlopen(module, path._makeLong(filename));\r\n                 ^\r\nError: Call to coreclr_create_delegate() for G failed with a return code of 0x80070002.\r\n    at Object.Module._extensions..node (module.js:672:18)\r\n    at Module.load (module.js:556:32)\r\n    at tryModuleLoad (module.js:499:12)\r\n    at Function.Module._load (module.js:491:3)\r\n    at Module.require (module.js:587:17)\r\n    at require (internal/module.js:11:18)\r\n    at Object.<anonymous> (d:\\dev\\edge-js\\edge-js-quick-start\\node_modules\\edge-js\\lib\\edge.js:53:8)\r\n    at Module._compile (module.js:643:30)\r\n    at Object.Module._extensions..js (module.js:654:10)\r\n    at Module.load (module.js:556:32)`\r\n\r\nWith EDGE_APP_ROOT commented out:\r\n`d:\\dev\\edge-js\\edge-js-quick-start\\node_modules\\edge-js\\lib\\edge.js:178\r\n    return edge.initializeClrFunc(options);\r\n                ^\r\nError: Could not load file or assembly 'ExternalLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.\r\n    at Object.exports.func (d:\\dev\\edge-js\\edge-js-quick-start\\node_modules\\edge-js\\lib\\edge.js:178:17)\r\n    at Object.<anonymous> (d:\\dev\\edge-js\\edge-js-quick-start\\main.js:30:22)\r\n    at Module._compile (module.js:643:30)\r\n    at Object.Module._extensions..js (module.js:654:10)\r\n    at Module.load (module.js:556:32)\r\n    at tryModuleLoad (module.js:499:12)\r\n    at Function.Module._load (module.js:491:3)\r\n    at Function.Module.runMain (module.js:684:10)\r\n    at startup (bootstrap_node.js:187:16)\r\n    at bootstrap_node.js:608:3`\r\n\r\nI did manage to get my custom DLL reference working (I was missing adding the EdgeJs nuget package in my library). Things are working perfectly for me on Windows 10. Now I'm having issues getting the same code running on OSX and Linux (I need all 3 platforms) - I'm thinking this may be caused by the wrong version of nodejs or .net core installed. If I can't figure it out I'll open another issue. Any advice would be really helpful.\r\n\r\nThanks again and have a great day!"}}
{"actor":{"display_login":"rktect"}}