javascriptreactjsreact-nativevisual-studio-codefrontend

file JS untracked on React JS


I got this error when creating functional component i got this error: enter image description here

the error said cannot find dile Buku.js .\src\components\Buku\Buku.Js'. but the JS file what i imported is exist and i'm sure not write wrong directory enter image description here


Solution

  • You can use the below solutions:

    Rename: Buku.Js to Buku.js

    Also: remove js from Buku.js .\src\components\Buku\Buku