You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below error will report if babel-core not installed.
$ npm start
> @ start /Users/ppt
> mdx-deck deck.mdx
[mdx-deck] starting dev server
✖ 「wdm」:
ERROR in ./node_modules/_mdx-deck@1.6.0@mdx-deck/dist/entry.js
Module build failed (from ./node_modules/_babel-loader@7.1.5@babel-loader/lib/index.js):
Error: Cannot find module 'babel-core'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/Users/geekplux/project/ppt/node_modules/_babel-loader@7.1.5@babel-loader/lib/index.js:3:13)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
@ multi ./node_modules/_mdx-deck@1.6.0@mdx-deck/dist/entry.js ./node_modules/_mdx-deck@1.6.0@mdx-deck/lib/overlay.js main[0]
looks like should add babel-core into devDependencies. 🌞
The text was updated successfully, but these errors were encountered:
Created a pull request for that, hope it will be merged soon 😃.
Meanwhile, you can explicitly add babel-core dependency into your project by typing: npm install --save-dev babel-core.
Below error will report if
babel-core
not installed.looks like should add
babel-core
into devDependencies. 🌞The text was updated successfully, but these errors were encountered: