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
shouldn't you use require to import the script ?
when i try to run it, it tells me
Error: Cannot find module 'babel-runtime/helpers/classCallCheck'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/lucas/dev/fivegoal_reservationsapi/node_modules/sql-formatter/lib/languages/N1qlFormatter.js:5:24)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/home/lucas/dev/fivegoal_reservationsapi/node_modules/sql-formatter/lib/sqlFormatter.js:5:22)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
The text was updated successfully, but these errors were encountered:
Looks like we're missing babel-runtime in our dependencies. I thought that by using babel-plugin-transform-runtime we don't need to add babel-runtime itself as dependency, but we do. From the docs:
Make sure you include babel-runtime as a dependency.
shouldn't you use require to import the script ?
when i try to run it, it tells me
The text was updated successfully, but these errors were encountered: