WebDevStudios / wd_s

A starter theme from WebDevStudios.
https://wdunderscores.com
GNU General Public License v2.0
664 stars 138 forks source link

JS compilation error #903

Closed razvanFrandes closed 6 months ago

razvanFrandes commented 2 years ago

Hello,

I'm trying to create react blocks, but I get this error in terminal

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file

Any ideas to solve it ?

Thank you.

jrfoell commented 2 years ago

Hey @razvanFrandes - we just released a new version of wd_s can you update and see if you're still getting the same issue? If you can provide a detailed build log, that would be helpful too. Make sure you're on the right build tool versions per the .nvmrc: Node 14 & NPM 7

razvanFrandes commented 2 years ago

Hey @jrfoell,

I have Node:16.14.2 and NPM: 8.6.0. I downloaded the new repo, still same issue when trying to create a simple hello world react component.

Btw, I'm using Windows, maybe there is a problem?

Module parse failed: Unexpected token (6:6) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders

 function App() {
     return (
       <h1> Hello World! </h1>
     );
 }
rossberenson commented 1 year ago

I'm also running into this issue. Repo was cloned about two weeks ago. Node and NPM versions confirmed.