Telegram-Mini-Apps / reactjs-template

Telegram Mini Apps application template using React, tma.js, TypeScript and Vite.
https://t.me/tmajsbot/react_example
84 stars 34 forks source link

Error while pnpm i #5

Closed mozharov closed 1 month ago

mozharov commented 1 month ago
node ➜ /workspaces/reactjs-template (master) $ pnpm i
Lockfile is up to date, resolution step is skipped
Packages: +348
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

   ╭─────────────────────────────────────────────────────────────────╮
   │                                                                 │
   │                Update available! 9.1.0 → 9.1.3.                 │
   │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v9.1.3   │
   │                Run "pnpm add -g pnpm" to update.                │
   │                                                                 │
   │     Follow @pnpmjs for updates: https://twitter.com/pnpmjs      │
   │                                                                 │
   ╰─────────────────────────────────────────────────────────────────╯

Downloading typescript@5.4.5: 5.83 MB/5.83 MB, done
 ERR_PNPM_ENOENT  ENOENT: no such file or directory, copyfile '/workspaces/reactjs-template/.pnpm-store/v3/files/f1/0dc89b97000a2205acc9b1bcb9c99c0f125ce8c0775921fd1d1420356712b0c3d565252480eb35f68e70807aaed8c05cd86afce74bd77ef824cfd070027555' -> '/workspaces/reactjs-template/node_modules/.pnpm/es-iterator-helpers@1.0.19/node_modules/es-iterator-helpers_tmp_1156/Iterator.prototype.every/auto.js'
Progress: resolved 348, reused 0, downloaded 272, added 271
Downloading @swc/core-linux-arm64-musl@1.5.7: 9.35 MB/18.85 MB
Downloading @swc/core-linux-arm64-gnu@1.5.7: 4.59 MB/15.20 MB
heyqbnk commented 1 month ago

Could you try removing the lock file?

mozharov commented 1 month ago

I tried deleting the lock file. I haven’t changed anything at all, I’m running it in devcontainer with node.js 20.13.1

mozharov commented 1 month ago

By the way, everything works with this repository: https://github.com/Telegram-Mini-Apps/solidjs-template

heyqbnk commented 1 month ago

What is the devcontainer?

mozharov commented 1 month ago

https://containers.dev/ https://code.visualstudio.com/docs/devcontainers/containers

It's just a docker container for development

heyqbnk commented 1 month ago

I am not sure we can help here. You can try switching to yarn or npm. There is probably something wrong with the combination of pnpm and dev container