#Getting errors when running the appsmith project

1 messages · Page 1 of 1 (latest)

zealous dust
#
  1. facing lots of prettier errors
    src\workers\common\JSLibrary\ternDefinitionGenerator.ts
    Line 1:28: Delete prettier/prettier
    Line 2:33: Delete prettier/prettier
    I tried to fix by adding this line "endOfLine": "auto" in .prettierrc file but it didn't worked

  2. Built the @shared/ast project using yarn install but still it gives error

    Cannot find this module: "@shared/ast"
    so I tried installing it with yarn add @shared/ast but then it gives me this error
    ➤ YN0027: @shared/ast:@unknown can't be resolved to a satisfying range
    ➤ YN0035: The remote server failed to provide the requested resource
    ➤ YN0035: Response Code: 404 (Not Found)
    ➤ YN0035: Request Method: GET
    ➤ YN0035: Request URL: https://registry.yarnpkg.com/@shared%2Fast:

  3. Property 'value' does not exist on type 'Node'.

ERROR in src/pages/Editor/JSEditor/utils.ts:67:16
TS2339: Property 'value' does not exist on type 'Node'.
65 | if (
66 | isPropertyNode(node) &&

67 | (node?.value.type === NodeTypes.ArrowFunctionExpression ||
| ^^^^^
68 | node?.value.type === NodeTypes.FunctionExpression) &&
69 | node.loc &&
70 | isCursorWithinNode(node.loc, cursorLine + 1) &&

  1. implicitly has an 'any' type.

ERROR in src/workers/Evaluation/JSObject/index.ts:134:26
TS7031: Binding element 'defaultValue' implicitly has an 'any' type.
132 | if (parsedElement.arguments) {
133 | params = parsedElement.arguments.map(

134 | ({ defaultValue, paramName }) => ({
| ^^^^^^^^^^^^
135 | name: paramName,
136 | value: defaultValue,
137 | }),

Can anyone help me fix the above errors?
Thank you!

celest lynxBOT
#

Hey There,

We've registered your query, and our team will get back to you soon.

Regards,
Pranav

celest lynxBOT
#

Hello! Could you please elaborate on your use case to help us better understand
what you are trying to achieve?

zealous dust
#

After setting up the project locally, when I run it using yarn start
then I receive these errors