Hi.
I was following the documentation to install frontity. After that, when I run npx frontity dev I get this errors:
SERVER STARTED – Listening @ http://localhost:3000
- mode: development
- target: module
- public-path: /static/
Error: ./node_modules/@frontity/core/src/utils/merge-packages.ts
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@frontity/core/src/utils/merge-packages.ts: Unexpected token (17:18)
15 | packages,
16 | state,
17 | overwriteArrays = false,
| ^
18 | }: {
19 | packages: {
20 | [name: string]: Package | PackageFunction;
at Object._raise (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/error.js:60:45)
at Object.raiseWithData (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/error.js:55:17)
at Object.raise (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/error.js:39:17)
at Object.unexpected (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/util.js:139:16)
at Object.checkExpressionErrors (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/util.js:241:12)
at Object.parseParenAndDistinguishExpression (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/expression.js:1484:10)
at Object.parseExprAtom (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/expression.js:1071:21)
at Object.parseExprSubscripts (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/expression.js:563:23)
at Object.parseUpdate (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/expression.js:543:21)
at Object.parseMaybeUnary (/media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@babel/parser/src/parser/expression.js:527:17)
@ ./node_modules/@frontity/core/src/client/store.ts 1:43-94 1:187-200
@ ./node_modules/@frontity/core/src/client/index.tsx
@ ./build/bundling/entry-points/front/client.ts
@ multi webpack-hot-middleware/client ./build/bundling/entry-points/front/client.ts
./node_modules/@frontity/html2react/src/libraries/component.tsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
SyntaxError: /media/schneider/schneider1/iag/Projetos/frontity/front/node_modules/@frontity/html2react/src/libraries/component.tsx: Unexpected token, expected “;” (63:25)
61 | processors,
62 | …payload
63 | }: ApplyProcessorsParams): boolean => {
| ^
64 | for (const proc of processors) {
65 | // Add deprecation warning for process.
66 | if ((proc as any).process)
at Object._raise (/media/schneider/schneider1/iag/Projetos/fr