Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

559
Views
I created navbar.js file, I defined it in app.js ,But i got this error. How solve i this error?

ERROR in ./src/App.js 13:37-43 export 'default' (imported as 'Navbar') was not found in './components/Navbar' (module has no exports)

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

you have not exported your Navbar component from Navbar.js file. please ask the question with more information, provide code for each file.

if you have exported using default

export default Navbar

you will import like this

import Navbar from "./Navbar.js"

if you have exported without default

import {Navbar} from "./Navbar.js"

for this you export like "export const Navbar" or in case of class "export class Navbar"

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!