Open Mati365 opened 1 month ago
Found solution. Adding alias
in package.json
solves the issue. Example package.json
:
{
"type": "module",
"dependencies": {
"@ckeditor/ckeditor5-react": "^8.0.0-alpha.0",
"buffer": "^6.0.3",
"ckeditor5": "^42.0.0-alpha.0",
"ckeditor5-premium-features": "^42.0.0-alpha.0",
"parcel": "^2.12.0"
},
"@parcel/resolver-default": {
"packageExports": true
},
"alias": {
"process": {
"global": "{}"
}
},
"devDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
}
}
📝 Provide detailed reproduction steps (if any)
npm install
Parcel
buildnpx parcel index.html
✔️ Expected result
Should compile without errors.
❌ Actual result
Throws
Failed to resolve process
❓ Possible solution
Polyfill
process
inParcel
.📃 Other details
If you'd like to see this fixed sooner, add a 👍 reaction to this post.