Error Message
EPERM: operation not permitted,create XXX failed.
Symptom
Failed to create or write file XXX.
Possible Causes
Users do not have the permission to create or write files.
Solution
Request the permissions to create and write files.
Error Message
The currentBundleType is shared, but the Package XXX bundleType is not shared.
Symptom
bundleType of the project is shared, but the bundleType of package XXX is not.
Possible Causes
bundleType in the app.json5 file of the project is shared, but the bundleType of the dependency package is not.
Solution
Remove the dependency package.
Error Message
The file is occupied.
Symptom
The build process cannot perform operations on the file because it is occupied.
Possible Causes
The file in the project is occupied by another process or locked (for example, by antivirus software or encryption software), preventing the build process from accessing it with the required permissions.
Solution