I am getting error in console “You need to enable JavaScript to run this app.” reactjs

前端 未结 8 557
北海茫月
北海茫月 2020-12-06 08:57

I am new to reactjs, I am working on a app. It was running fine, but when I\'ve run npm run build command, I am getting error "You need to enable JavaScript to run this

8条回答
  •  借酒劲吻你
    2020-12-06 09:36

    Go to your SignIn component or Register component, change the form tag to a div tag OR prevent the form default i.e (e.preventDefault). Also make sure that Javascript is enabled in your browser.

提交回复
热议问题