menu
Channels
Team
Posts
Members
Info
down-caret

Welcome to the Create React App community!

We're creating this community on Spectrum as a place to get help with Create React App and discuss ideas and plans for the future. We'll still use GitHub issues and PRs to report bugs and track development of new features. This kind of community forum is new for Create React App…

thumbsup
9
message-simple
0

How to add more files to the workbox's precach-manifest file?

I try to replace the navigationFallback: "index.html" with navigationFallback: "offline.html". I used the copy-webpack-plugin to copy offline.html to the dist folder but the file is still not in the precach-manifest. I've spent many days but no luck. Thanks everyone!

thumbsup
1
message-simple
0

How to make CRA/constituent parts report absolute paths for errors?

I am developing in a monorepo, and I'd like the CRA errors to use an absolute path (or relative to the base of the monorepo) so that I can click on the error and go straight to the file in my IDE. Is this possible?

thumbsup
0
message-simple
0

Unable to create first react app (newbie) - please help :)

npx create-react-app my-app; cd my-app; npm start yields: missing script: start. …

thumbsup
0
message-simple
7

Node/Express: "Cannot use import statement outside a module" with TypeScript

Hi all, I'm trying to set up a CRA project using TypeScript and an Express server on the back-end. I went ahead and followed these instructions for adding an Express server to CRA. I know that create-react-app (with the TypeScript template) requires "module": "esnext" to be set…

thumbsup
0
message-simple
0

Proxying requests to API over local network on dev

Hello, For my web app I use http-proxy-middleware as mentioned in the CRA docs in a setupProxy.js file to proxy API requests to a locally running API server like so: However when running create-react-app it also offers that you can access your site on your local network via an…

thumbsup
0
message-simple
0

Hi Team, create-react-app with typescript has no ts config for test options

Hi Team, I wonder if there is any provision to set test config in create-react-app with typescript template? Maybe a proxy to mock api server. Component is trying to hit API endpoint in react-testing test case, but I receive error console.error…

thumbsup
0
message-simple
0

Overriding WDS_SOCKET_PORT in .env doesn't update hot update port

Situation: I have a larger .NET MVC application running the application on port 58778, and on a subdir I have .NET serve html page with a script tag referencing some bundles loaded from create-react-app It loads the app fine initially, but subsequent hot reloads don't seem to go…

thumbsup
0
message-simple
1

Install CRA fork using npm alias - lack of files in node_modules\.bin

Hey, After I've decided to make a fork to customize a little bit CRA, I found out such problem: 'react-scripts' is not recognized as an internal or external command, …

thumbsup
0
message-simple
0

Unable to start app using npm start (react-scripts start). MODULE_NOT_FOUND

This is the error that I get when I run npm start. I've followed the guide in https://create-react-app.dev/ Here are the things that I have installed: npm --version …

thumbsup
0
message-simple
0

Parameter decorator

Hi! I am using CRA with TypeScript. I tried to use parameter decorator of TypeScript but it says '@' is not a valid letter. In the other hand, property decorator works very well. Anyone know how to fix this? Many thanks!

thumbsup
0
message-simple
1