无法 运行 npx react-native init in linux

unable to run npx react-native init in linux

当我尝试使用 npx react-native init MyTestApp 创建一个 react-native 项目时,它弹出 npx: installed 640 in 66.1s Unexpected token = and cannot be created project

看来您需要不同的节点版本才能执行命令。