Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When install NPM package fflate, build the project it occur errors #17573

Open
tangkaikk opened this issue Aug 22, 2024 · 0 comments
Open

When install NPM package fflate, build the project it occur errors #17573

tangkaikk opened this issue Aug 22, 2024 · 0 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@tangkaikk
Copy link
Contributor

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

image

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.

Minimal reproduction project

fflateNpmPack.zip

@tangkaikk tangkaikk added Bug Needs Triage Needs to be assigned by the team labels Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants