Question
how can i fix this?

es npm Failed to compile. ./src/App.is Line 26:3: Parsing error: Unexpected token, expected </Router> 241 25 l > 26 function
0 0
Add a comment Improve this question Transcribed image text
Answer #1

In, image source replace backward slash "\" with a forward slash "/".

While specifying a file path we use "/" but not "\".

You should also replace {} with " in src as shown below.

The function should return <img src="C:/Users/unknown/Desktop/Git/acubed/public/images/A-cubed.png" alt="A-Cubed"/>;

Try this, and please comment if you face any difficulty.

Add a comment
Know the answer?
Add Answer to:
how can i fix this? es npm Failed to compile. ./src/App.is Line 26:3: Parsing error: Unexpected...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • my function header is trying to call a image that i have on my machine? Do...

    my function header is trying to call a image that i have on my machine? Do I have any error in this code? how can I know if it's right. if it's wrong provide example with code please acubed - Microsoft Visual Studio Tools Edat View Team Window Help - Select Startup item... - Pa 11. App.test.js index.js App.js = X 1 import React, { Component } from 'react'; 2 import ( Browser Router as Router, Route ) from "react-router-dom"...

  • This is my process, can you fix it for me? 0 Input: Output: Value: Under control...

    This is my process, can you fix it for me? 0 Input: Output: Value: Under control of main function Under control of main function The purpose of this assignment is to become familiar with the process of providing overloaded operators for a class. The Rational class from Labs 02, 03, and 05 will be modified to provide overloaded operators for performing arithmetic on Rational numbers an overloaded unary minus for negating a Rational number (previously implemented as the additive an...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT