IdentifyParameters is not a constructor

454
2
Jump to solution
03-15-2021 12:59 AM
leTiimmy
New Contributor II

Hey Guys

I'm trying to basically do the same thing as explained here.

But because the issue is pretty old, the package imports are not the same anymore... I need to add IdentifyParameters to my project but I always get the message "IdentifyParameters is not a constructor" (screenshot below).

If I log for example IdentifyTask I get the thing it should be, but if I log IdentifyParameters i just get undefined.

Does anyone have a solution about this?

TimmyTschannen_0-1615795056539.png

 

1 Solution

Accepted Solutions
KenBuja
MVP Honored Contributor

This is usually caused by a mismatch between the order of the modules in "require" and the arguments in "function".

View solution in original post

2 Replies
KenBuja
MVP Honored Contributor

This is usually caused by a mismatch between the order of the modules in "require" and the arguments in "function".

leTiimmy
New Contributor II

Hi @KenBuja 

You are right, we already found out, that this was the problem.

But still many thanks for your answer!

Kind regards ;)

0 Kudos