I am trying to use @iota/client package But.
But on building react application I get this error:
/node_modules/@iota/client/out/lib/Client.js:1:2
1: MZ�♥♦���@↑☺▼�� �!�☺L�!This program cannot be run in DOS mode.
^
2: $�uG
�¶)X�¶)X�¶)X�l�X�¶)X�a(Y�¶)X�a,Y�¶)X�a-Y�¶)X�a*Y�¶)Xgm(Y�¶)X�l(Y�¶)X�¶(X�§)X%a-Y�¶)Xqf-Y�¶)X�¶)X3↨)X%a)Y�¶)X%a+Y�¶)XRich�¶)XPEd�♣W��c�"
☻↔���:ܕ�►�☺►☻♠♠P�♦☻☺►►►►►���☻��T☺P��♥
���͢T�Ϣ(08☺���♣.text↨��►��♦
.rdata8f2��h2��@@.dat?►�6��@�.pdata�♥P�♦,�@@.reloc�
��0�@BUAVVWSH���H��$�H�E8�����I��H�M��G�}H�E�H�E�►E�)E�H�E�☺W�)E��E�H�H�U����♣H�twH�E↑H�E0►)E H�E�H�M�H9�sHH�U�H��H��H�&☺ffffff.▼��|
▼@H��↑H9�t▼H�TH��t�H�H��H��H��☺u�H�E0I�F►(E A◄♠�H�E►I�I�♠H�U�H��t‼H�M�I��I��I��?�~∟6L��H���[_^A^]�H�‼H�M�H�����I�I�♠H�} H�E0H��t8H��♥H�∟@1��
7I��I��I��?�
error during build:
Error: Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
at error (file:////node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at Module.error (file:////node_modules/rollup/dist/es/shared/rollup.js:12429:16)
at Module.tryParse (file:////node_modules/rollup/dist/es/shared/rollup.js:12806:25)
at Module.setSource (file:////node_modules/rollup/dist/es/shared/rollup.js:12711:24)
at ModuleLoader.addModuleSource (file:////node_modules/rollup/dist/es/shared/rollup.js:21959:20)
/node_modules/@iota/client/out/lib/Client.js:1:2
1: MZ��!�☺L�!This program cannot be run in DOS mode.
^
2: $�uG
error during build:
Error: Unexpected character '�' (Note that you need plugins to import files that are not JavaScript)
at error (file:////node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at Module.error (file:////node_modules/rollup/dist/es/shared/rollup.js:12429:16)
at Module.tryParse (file:////node_modules/rollup/dist/es/shared/rollup.js:12806:25)
at Module.setSource (file:////node_modules/rollup/dist/es/shared/rollup.js:12711:24)
at ModuleLoader.addModuleSource (file:////node_modules/rollup/dist/es/shared/rollup.js:21959:20)