Skip to content

Running crm init-crm on Windows gives "ERR_INVALID_ARG_TYPE" error #16

Description

@daltonrpruitt

Hi, I realize this is project is unsupported at the moment, but I wanted to document a problem I ran into in case it was picked back up later.

Using Node.js v23.11.0 on a Windows 10 machine, running the crm init-crm command consistently led to a "ERR_INVALID_ARG_TYPE" error.
I investigated, and it seemed to be the

await database.create();

line in the main crm file. (permalink to line in github)

Changing this to

await database.create('{}');

to simulate an empty json object seemed to prevent the error.

I'm not sure where in the logic the error is, but it may be a problem with the newer Node version. I don't know enough yet to speak confidently, but I again just wanted to leave this hear for future people.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions