react-boilerplate / react-boilerplate-cra-template

:fire: Setup Create React App with React Boilerplate. Highly scalable & Best DX & Performance Focused & Best practices.
https://react-boilerplate.github.io/react-boilerplate-cra-template/
MIT License
1.87k stars 394 forks source link

Failed to compile on v1.1.1 fresh install #100

Closed safranx closed 3 years ago

safranx commented 3 years ago

Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.

Description

Hello,

I just installed the last version (v.1.1.1), but the compilation failed with those errors.

` src/index.tsx Line 30:52: Parsing error: Unexpected token, expected ";"

28 | 29 | const store = configureAppStore(); 30 | const MOUNT_NODE = document.getElementById("root") as HTMLElement; 31 | ReactDOM.render( 33 |

src/locales/translations.ts Line 7:76: Parsing error: Unexpected token, expected ";"

5 | Your components can import this file in 'messages.ts' files which would ruin the HMR if this isn't a separate module 6 | / 7 | export const translations: ConvertedToObjectType = {} as any;

src/utils/loadable.tsx Line 6:25: Parsing error: Unexpected token, expected ";"

4 | fallback: React.ReactNode; 5 | } 6 | type Unpromisify = T extends Promise ? P : never; `

Steps to reproduce

Steps to reproduce the behavior:

git clone https://github.com/react-boilerplate/react-boilerplate-cra-template.git
cd react-boilerplate-cra-template
yarn
yarn run cleanAndSetup
yarn start

Expected behavior Not a failed compilation.

Versions

Can-Sahin commented 3 years ago

this project is not meant to be cloned.

safranx commented 3 years ago

Ok thank you, I will use create-react-app CLI 😄