jacekschae / learn-re-frame-course-files

:cinema: Learn re-frame course files for building Cheffy app
https://www.learnreframe.com/
58 stars 43 forks source link

Cannot find module 'babel-core' #11

Open devxbasit opened 4 years ago

devxbasit commented 4 years ago

Hi Jaceck, I'm getting error because of this ["styled-icons/fa-solid/ChevronLeft" :refer [ChevronLeft]] can you provide a fix

[:app] Compiling ... internal/modules/cjs/loader.js:969 throw err; ^

Error: Cannot find module 'babel-core' Require stack:

jacekschae commented 4 years ago

Hi there,

When you navigate to your node_modules/styled-icons/fa-solid do you find the ChevronLeft.js?

devxbasit commented 4 years ago

yes, its there ChevronLeft.js

Also these as well ChevronLeft.cjs.js ChevronLeft.d.ts

jacekschae commented 4 years ago

That is a good first step. I believe your version of the package change?

Can you try to see what is the documentation saying about export? You can look up how would that work with shadow-cljs here: https://shadow-cljs.github.io/docs/UsersGuide.html#_using_npm_packages