Use type = 'text' and type = 'number' as required.
On Windows, you may need to set permissions on the storage/app directory.