Skip to content

Got error trying to implement on alpine image #3

@PylotLight

Description

@PylotLight

Does it make sense that there would be a missing types file?

23.09 flowise-components:build: nodes/embeddings/HuggingFaceLocalEmbedding/HuggingFaceInferenceEmbedding.ts(2,24): error TS7016: Could not find a declaration file for module '@themaximalist/embeddings.js'. '/usr/src/node_modules/.pnpm/@themaximalist+embeddings.js@0.1.3_@xenova+transformers@2.17.2_encoding@0.1.13_zod@3.22.4/node_modules/@themaximalist/embeddings.js/src/index.js' implicitly has an 'any' type.
23.09 flowise-components:build: Try npm i --save-dev @types/themaximalist__embeddings.js if it exists or add a new declaration (.d.ts) file containing declare module '@themaximalist/embeddings.js';
23.21 flowise-components:build:  ELIFECYCLE  Command failed with exit code 2.
23.24 flowise-components:build: ERROR: command finished with error: command (/usr/src/packages/components) pnpm run build exited (2)
23.39 flowise-components#build: command (/usr/src/packages/components) pnpm run build exited (2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions