Problem with adding motoko backend to the JS Frontend

I am getting error while i try to add motoko backend to the js frontend , when i write (
import {hello} from “…/…/declarations/hello”; in my js file I got some error
)

What is the error that you are getting?