You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I'm not sure if this is the right repo to put this.
Running npx create-react-app . --template pwa-typescript, installation fails at a statSync error with a missing gitignore file.
Also, after npx create-react-app . --template pwa and running npm start an error occurs with a missing module web-vitals in ./src/reportWebVitals.js. Manually installing web-vitals with npm i --save web-vitals fixed it.
Sorry I don't have screenshots, npm start command cleared my terminal.
Node version: 12.18.3
npm version: 6.14.6
The text was updated successfully, but these errors were encountered:
(Arguably we could put something in the README saying "requires create-react-app v4 or higher" but that's a little weird since npx create-react-app will just run whatever the latest release is.)
I'm just starting out in PWAs and read the cra docs and some tutorials and expected the default template being pwa ready, but they weren't and it didn't say anything on the docs. I guess I jumped the gun when I read the latest PR on create-react-app, thinking that the pwa-templates were official already.
First of all, I'm not sure if this is the right repo to put this.
Running
npx create-react-app . --template pwa-typescript
, installation fails at a statSync error with a missing gitignore file.Also, after
npx create-react-app . --template pwa
and runningnpm start
an error occurs with a missing moduleweb-vitals
in./src/reportWebVitals.js
. Manually installing web-vitals withnpm i --save web-vitals
fixed it.Sorry I don't have screenshots, npm start command cleared my terminal.
Node version: 12.18.3
npm version: 6.14.6
The text was updated successfully, but these errors were encountered: