create-react-blog icon indicating copy to clipboard operation
create-react-blog copied to clipboard

Start and deploy your own statically rendered blog with create-react-app

Results 18 create-react-blog issues
Sort by recently updated
recently updated
newest added

In `routes/posts/2019-01-06-welcome/post.js`, it sets function to import `document.mdx`. ``` getContent: () => import('./document.mdx') ``` In `routes/index.js`, it reads the data from ``` getView: async () => { let { default:...

I ran `npx create-react-blog react-blog --typescript` and got this error when open a post ``` TypeScript error in /Users/andrew/work_flow/react-blog/node_modules/@types/react-dom/node_modules/@types/react/index.d.ts(2906,14): Duplicate identifier 'LibraryManagedAttributes'. TS2300 2904 | // We can't recurse forever...

Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2. Commits - [`523c5c7`](https://github.com/npm/node-tar/commit/523c5c7fef48b10811fccd12b42803c61b6aead8) 2.2.2 - [`7ecef07`](https://github.com/npm/node-tar/commit/7ecef07da6a9e72cc0c4d0c9c6a8e85b6b52395d) Bump fstream to fix hardlink overwriting vulnerability - [`9fc84b9`](https://github.com/npm/node-tar/commit/9fc84b9c596c3589d4c1ab050843de0eafb002e8) Use {} for hardlink tracking instead of [] -...

dependencies

Hi James, I am not very familiar with react but I liked your blog so I decided to use it for my blog. It works fine locally but when I...

RSS

[{"_id":"63088eae135a5d31bf42119b","body":"You need to build your blog in order to get the rss.xml document.\r\nUse the following command:\r\n`npm run build`","issue_id":1659812383222,"origin_id":496404296,"user_origin_id":50734011,"create_time":1559029673,"update_time":1559029673,"id":1661505198913,"updated_at":"2022-08-26T09:13:18.913000Z","created_at":"2022-08-26T09:13:18.913000Z"},{"_id":"63088eae135a5d31bf42119c","body":"I only just now figured out what this issue was about. For anyone else who runs into it:\r\n\r\nThe RSS feed is only built during the static build. It doesn't work on the development server. The reason for this is you can't build and server a non-HTML page like an RSS feed at runtime.","issue_id":1659812383222,"origin_id":513092152,"user_origin_id":161707,"create_time":1563512885,"update_time":1563512885,"id":1661505198915,"updated_at":"2022-08-26T09:13:18.915000Z","created_at":"2022-08-26T09:13:18.915000Z"}] comment

The RSS doesnt work.

create-react-blog run build typescript-estree & BrowserlistError

[{"_id":"63088eaf135a5d31bf42119d","body":"Hey, thanks for pointing these out! I don't have time to update these right now, but would happily accept a PR!","issue_id":1659812383228,"origin_id":504270136,"user_origin_id":161707,"create_time":1561085813,"update_time":1561085813,"id":1661505199218,"updated_at":"2022-08-26T09:13:19.217000Z","created_at":"2022-08-26T09:13:19.217000Z"}] comment

I ran `$ yarn build` output: ``` yarn run v1.13.0 $ react-scripts build && ts-node -O {\"module\":\"commonjs\"} node_modules/navi-scripts/bin/navi-scripts.js build Creating an optimized production build... ============= WARNING: You are currently running...

Linter warnings alt required for <Img tags

[{"_id":"63088eaf135a5d31bf42119e","body":"AFAIK the linter can't lint markdown files, so this would be pretty hard to fix\r\n\r\nI'll close this for now, but feel free to re-open if you want to try submitting a PR with a fix to react-scripts-mdx.","issue_id":1659812383232,"origin_id":469091578,"user_origin_id":161707,"create_time":1551664215,"update_time":1551664215,"id":1661505199543,"updated_at":"2022-08-26T09:13:19.542000Z","created_at":"2022-08-26T09:13:19.542000Z"},{"_id":"63088eaf135a5d31bf42119f","body":"Realized this is also issue in regular .js components. Is this easy linting rule to put back? I think where possible good to remind users to include this alt tag for <img in their .js components. \r\n\r\n I will look for linting markdown, but I think you are right may be hard\/impossible to do. ","issue_id":1659812383232,"origin_id":469129640,"user_origin_id":8321838,"create_time":1551679436,"update_time":1551679436,"id":1661505199545,"updated_at":"2022-08-26T09:13:19.544000Z","created_at":"2022-08-26T09:13:19.544000Z"},{"_id":"63088eaf135a5d31bf4211a0","body":"This should definitely work for .js files. Not sure what's gone wrong.","issue_id":1659812383232,"origin_id":469137092,"user_origin_id":161707,"create_time":1551681830,"update_time":1551681830,"id":1661505199548,"updated_at":"2022-08-26T09:13:19.547000Z","created_at":"2022-08-26T09:13:19.547000Z"}] comment

Maybe this is a within markdown issue so a non issue? But I believe the default create react app linting that warns `

https://github.com/ForbesLindesay-Unmaintained/tar-pack/issues/39 https://github.com/ForbesLindesay-Unmaintained/tar-pack/issues/38 See also create-react-app repo https://github.com/facebook/create-react-app/issues/10958 tar-pack seems to be dead, might wanna use https://www.npmjs.com/package/unpack-stream which has promises support as an added bonus. You can see how tar-pack is...