Closed Odisseuss closed 3 months ago
Well first thing to do would be to examine your bundled source, see where edge-js
ended up.
Also add some console.log(path)
statements to lib/edge.js
to see where its trying to pick up the paths from.
Specifically you want to know what edgeNative
is set to here https://github.com/agracio/edge-js/blob/7e08b8ccfc0e7b4a837870ef6322779b16c231d6/lib/edge.js#L53
Hello!
I am trying to set up edge-js to use it inside a next.js project. I have cloned the edge-js-quick-start project, added a new c# file with the code i want to run and tested it from inside the edge-js-quick-start project. It worked out of the box.
Now, to make it work in next.js, this is what i did:
export default nextConfig;
CoreClrEmbedding::Initialize - Failed to initialize CoreCLR, HRESULT: 0x80070057 ⨯ TypeError: edge.initializeClrFunc is not a function at Hero (./src/components/component/hero.tsx:15:27) at stringify ()