Cannot build project

I constantly get the error :× Failed: Cannot read properties of undefined (reading 'name') .
This happens after building my project. This only happens when the files are larger than something like 3500 KB.
Has anyone experienced the same issue?
I have tried logging in and out, I have tried creating a new database file. If the file is smaller it does work.

Hi @coolruah ,

I guess you used dbdocs, right? So please correct me if I’m wrong.
Can you provide with me more context of your issue?

  • Which commands did you use?
  • Describe more about your previous steps before facing the issue.

Thank you.

Hey, Yes I used dbdocs, I used this extension in VS: GitHub - noakesey/d365fo-entity-schema: Visual Studio extension to generate entity relation schema for Dynamics 365 Finance Operations (D365FO).
I used this to generate my dbdocs scheme, which works fine if there are a limited amount of tables, but as the database file gets bigger I encounter this issue everytime.
This is the order in which I execute my commands:

dbdocs logout
dbdocs login
dbdocs ls
dbdocs build "C:\Users\localadmin\Desktop\New folder\database.dbml" --project newdynamics

I don’t know at exactly which size of file I encounter this issue but for example a file of 2000 KB works, however, something bigger like 3800 KB doesn’t work.
This is what I received after my latest attempt:

C:\Users\localadmin>dbdocs build "C:\Users\localadmin\Desktop\New folder\database.dbml" --project newdynamics
√ Parsing file content
× Failed: Cannot read properties of undefined (reading 'name')

I am willing to share my database file privately.
Thank you.

Hi @coolruah ,

Thank you for your explaination.

We investigated and found that there is an issue on our site. We will investigate further and fix it. We will notify you if there are any updates.

Thanks.

Hello @huyleminh

Has there been an update for this?
Even if it’s just maybe outlining some clear restrictions like the file size or table count?

Thank you.

Hi @coolruah ,

Sorry for the late reply.

We have a restriction when building a project to dbdocs. But the error message should display the restriction to you.

So to verify your problem exactly, could you send us your DBML via support email dbdocs@holistics.io? We will keep your information private and use it for debugging only.

Thank you.

Hello! I have the same exact situation. I would like to ask if a fix/workaround is available? Thanks!

1 Like

Hi there @golf_machine,

To help us quickly debug your issue, can you send us the DBML file via dbdocs@holistics.io?

We will keep your information private and use it for debugging only.

Patrick

Hi @Phat_Nguyen_Truong ! Thank you for following up on this. I actually just tested now and found the issue. It was simply incompatibility with the Node.Js version I was using (12.2.0). After switching to a more recent version, I was able to upload to dbdocs! Thank you and I’m leaving this comment here in case others in the future with similar set-ups might be able to troubleshoot as well.

1 Like