huggingface / huggingface/transformers.js

[Question] Build step process for Vercel

Open
#363 18 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
16.3k
Forks
1.2k
Avg merge
6d 2h
Merged PRs (30d)
6

Description

Hi, I am currently in the process of trying to deploy to Vercel using Nextjs.
I am using pnpm as my package manager and have put the model in the public folder.
I hit this error, when building occurs, is there something necessary post install just as #295 has done?

I don't understand why this step is necessary

```
An error occurred while writing the file to cache: [Error: ENOENT: no such file or directory, mkdir '/var/task/node_modules/.pnpm/@xenova+transformers@2.6.2/node_modules/@xenova/transformers/.cache'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.