brocessing / kirby-webpack

:muscle: A Kirby CMS starter-kit with modern frontend tools
MIT License
179 stars 23 forks source link

Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' #51

Closed geekance closed 5 years ago

geekance commented 5 years ago

Looks like including modules is broken: In InteractiveTitle.js I have: class InteractiveTitle { constructor () { } } export default InteractiveTitle

in my index.js I try to include this module: import InteractiveTitle from './js/objects/InteractiveTitle'

That leads to Module not found: Error: Can't resolve '@babel/runtime/helpers/classCallCheck' Module not found: Error: Can't resolve '@babel/runtime/helpers/createClass'

pqml commented 5 years ago

I think it's fixed on the new release. I forget to include @babel/runtime as dependency on the previous release. You can fix it on your project via npm i -S @babel/runtime