ERR_PNPM_WORKSPACE_PKG_NOT_FOUND  In : "nextra@workspace:*" is in the dependencies but no package named "nextra" is present in the workspace
mecattaf
HOBBYOP

2 years ago

Very likely the same error as described here:

https://help.railway.app/questions/cannot-install-with-frozen-lockfile-be-be29918d

https://github.com/railwayapp/nixpacks/issues/1091

However I followed their recommendation and added the nixfile as they did, but still getting an error.

You can find my repo here which is a fork of nextra

My repo: https://github.com/mecattaf/nextra

There is a tiny chance that my changes may be the cause for this, specifically:

I have a custom root directory set: /examples/my-site/

And I have a custom Start command: pnpm run start

This is meant to work in tandem with the nixfile:

providers = ["node"]

[phases.install]
cmds = ["npm install -g corepack", "corepack enable", "corepack prepare pnpm@9.1.0 --activate", "pnpm install"]

I am specifically trying to launch /examples/my-app during this operation.

Your help is much appreciated!

T

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

Archived

0 Replies

2 years ago

Please do not manually cross post.

Status changed to Archived brody about 2 years ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...