Also it looks like you still have node_modules laying around (above is the error line). You likely need to clean that up before trying again, this command should be what you need. Checkout this post for more details about moving from npm to yarn.
npm run clean && yarn install