Some newer machine that have an Optane drive might give an error like:
Found 1 Remapped NVMe devices. Please switch your BIOS from RAID to AHCI if you wish to wipe these devices.

In this case you have to switch the drive BIOS setting from RAID to AHCI mode. 


It might be that the BIOS does not show the option to make those changes.  In cases like this you might need to search on the wb if there is an option to do this. As an example does ACER not have this feature in the BIOS, but they do have an hidden feature; CTRL + S. 


See more information in below link: 

https://community.acer.com/en/discussion/579728/changing-to-ahci-mode-linux-install-nitro-5-an515-54