Dear community,
I need your help.
i received webpack errors when running “ionic cap build” command:
./node_modules/hanzi-writer-data/APL/big5/ARPHICPL.TXT:1:0 - Error: Module parse failed: Unexpected character ‘�’ (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack
�幩�������v��
|
| �ۧ@�v�Ҧ�(C) 1999 �幩��}�o�ѥ��������q
./node_modules/hanzi-writer-data/APL/english/ARPHICPL.TXT:1:7 - Error: Module parse failed: Unexpected token (1:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack
ARPHIC PUBLIC LICENSE
|
| Copyright (C) 1999 Arphic Technology Co., Ltd.
./node_modules/hanzi-writer-data/APL/gb/ARPHICPL.TXT:1:0 - Error: Module parse failed: Unexpected character ‘�’ (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See Concepts | webpack
�Ķ�������Ȩ��
|
| ��Ȩ����(C) 1999 �Ķ��Ƽ������ɷ�����˾
It seems that webpack can’t load files which contain asian languages(Chinese in this case)
Any help would be much appreciated.
=========================================
$ ionic info
Ionic:
Ionic CLI : 6.20.5 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.4.1
@angular-devkit/build-angular : 15.0.4
@angular-devkit/schematics : 15.0.4
@angular/cli : 15.0.4
@ionic/angular-toolkit : 6.1.0
Capacitor:
Capacitor CLI : 4.6.1
@capacitor/android : 4.6.1
@capacitor/core : 4.6.1
@capacitor/ios : 4.6.1
Utility:
cordova-res : 0.15.4
native-run : 1.7.1
System:
NodeJS : v18.12.1 (/usr/local/bin/node)
npm : 8.19.2
OS : macOS Big Sur