It sounds a lot like a sheared, incorrectly installed, or missing flywheel key, resulting in grossly incorrect ignition timing. If you put the flywheel on with its keyway misaligned with the key in the crankshaft keyway, the flywheel would slip around relative to the key as soon as it ran.