I keep getting a spawn unknown error when trying to create a next app on either vscode or cmd, which reads "Aborting installation. Unexpected error. Please report it as a bug: Error: spawn UNKNOWN"
the installation aborts, am not sure what this error is or how to go about it.
CodePudding user response:
I uninstalled the antivirus (RAV) on my PC and it worked fine. Your antivirus might be different but uninstalling the antivirus solves it.
I got some help from this thread npm uninstall -g create-react-app Error: EPERM: operation not permitted