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
$ cashay-schemamodule.js:457 throw err; ^Error: Cannot find module 'babel-register' at Function.Module._resolveFilename (module.js:455:15) at Function.Module._load (module.js:403:25) at Module.require (module.js:483:17) at require (internal/module.js:20:19) at Object.<anonymous> (/Users/dustin/Developer/industrymaps-web/node_modules/cashay/lib/schema/updateSchema.babel.js:4:1) at Module._compile (module.js:556:32) at Object.Module._extensions..js (module.js:565:10) at Module.load (module.js:473:32) at tryModuleLoad (module.js:432:12) at Function.Module._load (module.js:424:3)
Fixed by installing babel-register and babel-polyfill:
npm i --save-dev babel-register babel-polyfill
The text was updated successfully, but these errors were encountered:
@mattkrick i'm working on integrating with Ember. No webpack here.
I'm trying to just make it work at the moment, and the cli seemed the most straight-forward, but running into a hangup where it doesn't recognize my browserified import of graphql in schema.js.
Eventually I may write an Ember addon to compile the client-safe schema at build-time using existing Ember hooks (along with any other integration needs); but I am still scratching the surface here.
Fixed by installing babel-register and babel-polyfill:
The text was updated successfully, but these errors were encountered: