If Tasker lacks storage permission and cannot create the file, use a computer with ADB:
Use tasker.lpp + Tasker Settings for non-root devices. Use root for simplicity. Use ADB WiFi if you cannot install Tasker Settings. tasker.lpp
Save the tasker.lpp file from a trusted source to your device's internal storage. If Tasker lacks storage permission and cannot create
/storage/emulated/0/tasker.lpp