cocos-engine
cocos-engine copied to clipboard
When install NPM package fflate, build the project it occur errors
Cocos Creator version
3.x
System information
All
Issue description
When install NPM package fflate, build the project it occur errors :"[Build] [build-script]ModuleNotFoundError: (i18n needed)resolve_error_module_not_found: {"specifier":"worker_threads","parentURL":"file:///E:/cocosTestProjects/fflateNpmPack/node_modules/fflate/umd/index.js"}"
Relevant error log output
Steps to reproduce
1.new a project 2. npm fflate 3. import fflate in the script, add the script to the scene. 4. build the project.