标签: node.js reactjs npm create-react-app npx
我该怎么办?我无法使用 npm 创建 React 应用程序,在使用 npx 时我不知道为什么它会给我 reportwebvitals.js 或其他东西,我需要 serviceworker.js
作为图像的错误:
答案 0 :(得分:1)
使用 npx,而不是 npm
npx create-react-app myreact
效果会很好..