Hi, kelly,
Error code 10008 often occurs when there is some corruption in the project or at least some issue. Technically the error designation is "unable to open terminal". So something is preventing that. Your efforts to remove evidence of corruption from the project were well taken. If you are still getting the error, possibly you have not yet eradicated all of the corrupt elements. You can scroll through frame by frame, or perhaps narrow it down by duplicating the project, erasing half of it, and sharing out to see if its working O.K. You can keep duplicating and sharing out until you narrow it down to a segment where the corruption may be occurring.
Your profile shows that you are using iMovie '11 (aka iMovie 9). Is that correct? Also what operating system are you running? iMovie 9 is not fully compatible with operating systems from El Capitan to present. That may be what is causing the problem.
Here are some things that you can try:
1. Assuming that you are using iMovie 10, open iMovie while holding down the Option and Command keys and select to delete preferences in the box that appears. iMovie will open in a new library. Reopen your old library to get back to your projects. Now see if the problem is solved.
2. If the above doesn't solve it, or you are using iMovie 9, try doing an Edit/Select All, Edit/Copy, of the media in your project and then Edit/Paste it into a newly created project. Try to share out from the new project.
3. If still no luck, try opening iMovie 10 in a new library. Do that by holding down the Option key and selecting to create a new library in the box that appears. Copy your project into the new library and see if it shares out.
4. All else failing, try booting up in Safe Mode (see Help Menu) and, after everything loads, immediately shut down and start up in normal mode. Sometimes that clears out conflicts.
-- Rich