How to generate UUID with angular 2?

后端 未结 3 648
野的像风
野的像风 2021-01-31 08:45

I\'m using Angular 2 for a signup form: first name, last name, email and password.

After submit, the data is being stored via API call in a database (nodeJs and mongo) a

3条回答
  •  佛祖请我去吃肉
    2021-01-31 09:15

    Issue fixed. Solution: I found out that when I did install the package angular2-uuid via command-line, it was automatically stored in package.json directly before/over the package: @angular/flex-layout.

    As the error was in a way not clear, I just did remove it to other position in the: package.json and the error is gone. everything works fine.

提交回复
热议问题