fixes the bug of npm when updating ^ ranges by updating cortex-init-prompts temporarily;