WebVella/WebVella-ERP

ErpEvent is not defined

Closed this issue · 3 comments

url: https://localhost:54467/sdk/objects/page/l
Version is the latest version

This problem only exists in DEBUG mode

Hey, this probably means that the script.js is not loaded for some reason and this constant is not available because of it.
The problem that may occur is because of a bug in the .net latest SDK 7.0.201. This make ViewComponents not to be able to be loaded by <vc: taghelper.
What I would suggest is to temporary until they fix it, to but a global.json in your solution root with the following
{
"sdk": {
"version": "7.0.103"
}
}

And have the 7.0.103 installed (you can check in C:\Program Files\dotnet\sdk
Once you have it, you will need to rebuild the whole solution and then try again.
Hope this helps

thanks