Please forgive me if this question has been answered, I've tried searching w/o success. I just took the plunge and tried to upgrade my daughter's Early 2015 13" MacBook Air's stock 128GB drive with a cheap 256GB drive I found, the brand being Inland Professional. It was $40. I used the Sintech sled adapter.
I'm pretty sure I did everything right (don't want to detail it all now, makes this post too long!). Upshot is that the drive is seen by the Mojave installer USB stick I prepared. I used Disk Utility to format it APSF, all went well, but the OSX install fails after a few minutes with "macOS could not be installed on your computer. An error occured while loading the installer resources. Quit the installer to restart your computer and try again."
Could this be drive firmware or controller? It's a Phison E8 controller with DRAM cache, Toshiba 64L 3D TLD NAND, x2 PCIe 3.0 interface. Yes I know the MBA can do x4 but that's OK, I'm fine with x2. Something else a little weird is that this drive uses a B+M key more common to SATA drives, though it's definitely NVMe. It fit into the Sintech sled fine.
Any tips for trying to get a successful OSX install are very much appreciated. Thanks!
This is the drive:
https://www.amazon.com/Inland-Professional-256GB-Internal-Solid/dp/B07D4QJH6D