Created
October 3, 2019 23:10
-
-
Save Ashoat/0ef0753180cd0a23707a344842e664c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ashoat@ashoatmbp2018 [~/Dropbox/src/squadcal/server]$ node --experimental-modules --loader ./loader.mjs --es-module-specifier-resolution node dist/server | |
(node:57919) ExperimentalWarning: The ESM module loader is experimental. | |
(node:57919) ExperimentalWarning: --loader is an experimental feature. This feature could change at any time | |
(node:57919) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. | |
/Users/ashoat/Dropbox/src/squadcal/node_modules/@babel/runtime/helpers/esm/extends.js:1 | |
export default function _extends() { | |
^^^^^^ | |
SyntaxError: Unexpected token export | |
at Module._compile (internal/modules/cjs/loader.js:872:18) | |
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10) | |
at Module.load (internal/modules/cjs/loader.js:790:32) | |
at Function.Module._load (internal/modules/cjs/loader.js:703:12) | |
at internal/modules/esm/translators.js:116:15 | |
at Object.meta.done (internal/modules/esm/create_dynamic_module.js:48:9) | |
at file:///Users/ashoat/Dropbox/src/squadcal/node_modules/@babel/runtime/helpers/esm/extends.js:9:13 | |
at ModuleJob.run (internal/modules/esm/module_job.js:111:37) | |
at async Loader.import (internal/modules/esm/loader.js:137:24) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment