Open
Description
Description
Syntax error "Identifier 'React' has already been declared. (4:7)" in 'layer5io-sisten/site/gatsby-browser.js"'
STEPS
- cd site/
- make setup
- make site
==>
ERROR UNKNOWN
Syntax error in "/Users/ilazarkov/Development/VSCodeProjects/layer5io-sisten/site/gatsby-browser.js":
Identifier 'React' has already been declared. (4:7)
2 | import { ThemeProvider } from './src/components/Theme';
3 | import './src/styles/global.css';
4 | import React from "react";
| ^
5 |
6 | export const wrapRootElement = ({ element }) => {element};
7 |
Expected Behavior
The site successfully started
Screenshots
Environment:
- Host OS: macOS Sequoia v15.5
- Browser:
Contributor Resources and Handbook
The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master
branch.
- 📚 See contributing instructions.
- 🎨 Wireframes and designs for Layer5 site in Figma (open invite)
- 🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack.
Join the Layer5 Community by submitting your community member form.