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
{{ message }}
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
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:22:18)
at requireReact (/Users/blakewilson/projects/projectName/node_modules/consolidate/lib/consolidate.js:1338:51)
at Object.newLoader [as .jsx] (/Users/blakewilson/projects/projectName/node_modules/pirates/lib/index.js:88:7)
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)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at View.renderFile [as engine] (/Users/blakewilson/projects/projectName/node_modules/express-react-views/index.js:66:23)
at View.render (/Users/blakewilson/projects/projectName/node_modules/express/lib/view.js:135:8)
at tryRender (/Users/blakewilson/projects/projectName/node_modules/express/lib/application.js:640:10)
at Function.render (/Users/blakewilson/projects/projectName/node_modules/express/lib/application.js:592:3)
at ServerResponse.render (/Users/blakewilson/projects/projectName/node_modules/express/lib/response.js:1008:7)
at Listing.find.populate.select.limit.sort.then.listings (/Users/blakewilson/projects/projectName/server.js:90:18)
at process._tickCallback (internal/process/next_tick.js:68:7)
Using babel-core, babel-preset-env, babel-preset-react, etc work fine. However, I'd like to run Babel 7, and from viewing the issues, this seems supported. Am I doing something wrong?
Thanks for any help!
The text was updated successfully, but these errors were encountered:
Alright, after some serious debugging I found that the issue Error: Cannot find module 'babel-core' is somehow related to requiring the package email-templates in Node i.e.
const Email = require('email-templates')
Any thoughts as to why this may be happening would be really helpful! Unfortunately, email-templates isn't really a package I'd be able to give up easily.
Hi team,
I'm getting the following error:
When using the following packages:
Using babel-core, babel-preset-env, babel-preset-react, etc work fine. However, I'd like to run Babel 7, and from viewing the issues, this seems supported. Am I doing something wrong?
Thanks for any help!
The text was updated successfully, but these errors were encountered: