We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After I checkout to branch-0, I have run the command:
npm start
and the error which is displayed in the browser is the following :
Failed to compile. Error in ./src/reportWebVitals.js Syntax error: 'import' and 'export' may only appear at the top level (3:4) 1 | const reportWebVitals = onPerfEntry => { 2 | if (onPerfEntry && onPerfEntry instanceof Function) { > 3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { | ^ 4 | getCLS(onPerfEntry); 5 | getFID(onPerfEntry); 6 | getFCP(onPerfEntry); @ ./src/index.js 19:23-51
Are we supposed to edit any parts of code to be able to run correctly ? I was using the repository as a tutorial.
Thank You
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After I checkout to branch-0, I have run the command:
and the error which is displayed in the browser is the following :
Are we supposed to edit any parts of code to be able to run correctly ?
I was using the repository as a tutorial.
Thank You
The text was updated successfully, but these errors were encountered: