rectify error
locky-09
FREEOP

2 months ago

pnpm install --frozen-lockfile --prefer-offline

343ms

 ERROR  packages field missing or empty

For help, run: pnpm help install

ERROR: failed to build: failed to solve: process "pnpm install --frozen-lockfile --prefer-offline" did not complete successfully: exit code: 1

got this while deploying but it actually has this package and now how to rectify this

$10 Bounty

3 Replies

Railway
BOT

2 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


passos
MODERATOR

2 months ago

Hey, can you please share your package.json file here?


hardik7843
HOBBY

2 months ago

try deleting pnpm-lock.yaml and node_modules and run pnpm install again.


Loading...