MarkSeliverstov / MFF-bachelor-work

CUNI MFF | Bachelor project
MIT License
1 stars 0 forks source link

Build failed #3

Closed skodapetr closed 3 months ago

skodapetr commented 6 months ago
PS D:\Projects\entity-manager\entity-inspector> npm run build

> entity-inspector@0.0.1 build
> vsce package

(node:10388) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Executing prepublish script 'npm run vscode:prepublish'...

> entity-inspector@0.0.1 vscode:prepublish
> npm run compile

> entity-inspector@0.0.1 compile
> tsc -p ./

src/configuration.ts:34:32 - error TS2554: Expected 1 arguments, but got 0.

34 export const serverURL = () => USER_CONFIG().get("serverUrl", "");
                                  ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:48:36 - error TS2554: Expected 1 arguments, but got 0.

48     static readonly prefix = () => USER_CONFIG().get("prefixName", "@lc-");
                                      ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:49:32 - error TS2554: Expected 1 arguments, but got 0.

49     static readonly id = () => USER_CONFIG().get("identifierMarker", "identifier");
                                  ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:50:35 - error TS2554: Expected 1 arguments, but got 0.

50     static readonly alias = () => USER_CONFIG().get("nameMarker", "name");
                                     ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:51:34 - error TS2554: Expected 1 arguments, but got 0.

51     static readonly type = () => USER_CONFIG().get("typeMarker", "type");
                                    ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:52:36 - error TS2554: Expected 1 arguments, but got 0.

52     static readonly entity = () => USER_CONFIG().get("entityMarker", "entity");
                                      ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:53:38 - error TS2554: Expected 1 arguments, but got 0.

53     static readonly property = () => USER_CONFIG().get("propertyMarker", "property");
                                        ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:54:36 - error TS2554: Expected 1 arguments, but got 0.

54     static readonly method = () => USER_CONFIG().get("methodMarker", "method");
                                      ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:55:41 - error TS2554: Expected 1 arguments, but got 0.

55     static readonly description = () => USER_CONFIG().get("descriptionMarker", "description");
                                           ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/configuration.ts:56:36 - error TS2554: Expected 1 arguments, but got 0.

56     static readonly source = () => USER_CONFIG().get("sourceMarker", "source");
                                      ~~~~~~~~~~~~~

  src/configuration.ts:22:22
    22 const USER_CONFIG = (config: Map<string, string>) => {
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~
    An argument for 'config' was not provided.

src/model/annotation-model.ts:3:1 - error TS2304: Cannot find name 'entity'.

3 entity
  ~~~~~~

Found 11 errors in 2 files.

Errors  Files
    10  src/configuration.ts:34
     1  src/model/annotation-model.ts:3
 ERROR  npm failed with exit code 2