Created
May 3, 2018 18:37
-
-
Save theskillwithin/094f144d0044441d305d21d5e0305a1d 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
Show hidden characters
{ | |
"plugins": [ | |
[ | |
"module-resolver", | |
{ | |
"root": [ | |
"." | |
], | |
"alias": { | |
"styles": "./styles" | |
}, | |
"cwd": "babelrc" | |
} | |
], | |
[ | |
"wrap-in-js", | |
{ | |
"extensions": [ | |
"css$", | |
"scss$" | |
] | |
} | |
] | |
], | |
"presets": [ | |
"next/babel", | |
"es2015", | |
"stage-0" | |
], | |
"ignore": [] | |
} |
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
➜ SSR git:(release/nodejs-react-upgrade) ✗ npm run dev | |
> [email protected] dev /Users/aupeterson/Projects/knowledgebase/SSR | |
> node server.js | |
/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:328 | |
throw e; | |
^ | |
Error: Plugin 0 specified in "/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/next/babel.js" provided an invalid property of "default" (While processing preset: "/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/next/babel.js") | |
at Plugin.init (/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/plugin.js:131:13) | |
at Function.normalisePlugin (/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:152:12) | |
at /Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:184:30 | |
at Array.map (<anonymous>) | |
at Function.normalisePlugins (/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20) | |
at OptionManager.mergeOptions (/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36) | |
at /Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:265:14 | |
at /Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:323:22 | |
at Array.map (<anonymous>) | |
at OptionManager.resolvePresets (/Users/aupeterson/Projects/knowledgebase/SSR/node_modules/babel-register/node_modules/babel-core/lib/transformation/file/options/option-manager.js:275:20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment