Skip to content

Getting error while integrating @frontity/yoast and frontity-contact-form-7, in frontity-chakra-ui-theme. Can you please help me out. #34

Open
@sapan-jena

Description

@sapan-jena

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/CloseButton/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\CloseButton\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:656-706 5:656-706
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/Code/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\Code\index.js: pragma and pragmaFrag
cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:522-558 5:522-558
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/Collapse/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\Collapse\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:706-750 5:706-750
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/ColorModeProvider/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\ColorModeProvider\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 |
3 | /* @jsx jsx /
4 | import { jsx } from "@emotion/core";
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:798-860 5:798-860 5:860-893 5:860-893
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/Divider/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\Divider\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1063-1105 5:1063-1105
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/Drawer/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\Drawer\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1105-1127 5:1105-1127
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/Editable/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\Editable\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _defineProperty from "@babel/runtime/helpers/defineProperty";
| ^
2 | import _extends from "@babel/runtime/helpers/extends";
3 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
4 |
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1127-1171 5:1127-1171 5:1171-1195 5:1171-1195
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/FormControl/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\FormControl\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1231-1281 5:1231-1281 5:1281-1308 5:1281-1308
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/FormErrorMessage/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\FormErrorMessage\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1410-1470 5:1410-1470
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/FormHelperText/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\FormHelperText\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 |
3 | /* @jsx jsx /
4 | import { jsx } from "@emotion/core";
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1308-1364 5:1308-1364
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/FormLabel/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\FormLabel\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
| ^
2 | import _extends from "@babel/runtime/helpers/extends";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1364-1410 5:1364-1410
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra-react/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/chakra-react/client.ts

./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/Heading/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: D:\Andolasoft Projects\AS_Blog\packages\frontity-chakra-theme\node_modules@chakra-ui\core\dist\es\Heading\index.js: pragma and pragmaFrag cannot be set when runtime is automatic.

1 | import _extends from "@babel/runtime/helpers/extends";
| ^
2 | import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
3 |
4 | /* @jsx jsx /
at File.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\core\lib\transformation\file\file.js:249:12)
at NodePath.buildCodeFrameError (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\index.js:139:21)
at PluginPass.enter (D:\Andolasoft Projects\AS_Blog\node_modules@babel\plugin-transform-react-jsx\lib\create-plugin.js:164:28)
at newFn (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\visitors.js:177:21)
at NodePath._call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:53:20)
at NodePath.call (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:40:17)
at NodePath.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\path\context.js:90:31)
at TraversalContext.visitQueue (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:103:16)
at TraversalContext.visitSingle (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:77:19)
at TraversalContext.visit (D:\Andolasoft Projects\AS_Blog\node_modules@babel\traverse\lib\context.js:131:19)
@ ./packages/frontity-chakra-theme/node_modules/@chakra-ui/core/dist/es/index.js 5:1506-1548 5:1506-1548
@ ./packages/frontity-chakra-theme/src/components/styles/processors.js
@ ./packages/frontity-chakra-theme/src/index.js
@ ./build/bundling/entry-points/chakra

ppacage.json file

{
"name": "my-frontity-project",
"version": "1.0.0",
"private": true,
"description": "Frontity project",
"keywords": [
"frontity"
],
"scripts": {
"dev": "frontity dev",
"build": "frontity build",
"serve": "npx frontity serve"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chakra-ui/frontity-chakra-ui-theme.git"
},
"author": "Segun Adebayo [email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/chakra-ui/frontity-chakra-ui-theme/issues"
},
"homepage": "https://github.com/chakra-ui/frontity-chakra-ui-theme#readme",
"prettier": {},
"dependencies": {
"@chakra-ui/core": "^0.8.0",
"@emotion/core": "^11.0.0",
"@fontsource/work-sans": "^4.5.1",
"@frontity/core": "^1.14.3",
"@frontity/html2react": "^1.7.0",
"@frontity/tiny-router": "^1.4.4",
"@frontity/wp-comments": "^1.0.0",
"@frontity/wp-source": "^1.11.5",
"@frontity/yoast": "^2.1.1",
"frontity": "^1.17.0",
"frontity-chakra-theme": "./packages/frontity-chakra-theme",
"frontity-contact-form-7": "^0.1.7"
},
"devDependencies": {
"@babel/core": "^7.15.4",
"@babel/preset-env": "^7.15.4",
"@changesets/changelog-github": "^0.4.1",
"@changesets/cli": "2.17.0",
"babel-loader": "^8.2.2",
"eslint": "7.32.0",
"eslint-plugin-react": "7.25.1",
"webpack": "^5.51.2"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions