Skip to content

Issue on install: ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER #2

@hasdfa

Description

@hasdfa

When trying to init, seems like it tries to execute pnpm add '' '@pigment-css/react' '@pigment-css/nextjs-plugin' which is failing

> pnpm dlx lotru@latest init

 WARN  1 deprecated subdependencies found: [email protected]
Packages: +101
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 101, reused 85, downloaded 16, added 101, done
✔ What framework are you using? › Next.js
✔ Would you like to use TypeScript (recommended)? … no / yes
✔ Is your source code located in a src directory? … no / yes
✔ Configure the import alias for lib: … @/lib
✔ Configure the import alias for hooks: … @/hooks
✔ Configure the import alias for components: … @/components
✔ Writing lotru.config.json.
✔ Writing theme.ts.
✔ Writing pigment.config.ts.
⠦ Installing dependencies.
Something went wrong. Please check the error below for more details.
If the problem persists, please open an issue on GitHub.

Command failed with exit code 1: pnpm add '' '@pigment-css/react' '@pigment-css/nextjs-plugin'

../..                                    | \u2009WARN\u2009 `node_modules` is present. Lockfile only installation will make it out-of-date
\u2009ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER\u2009 latest isn't supported by any available resolver.

This error happened while installing a direct dependency of /.../apps/frontend
../..                                    | Progress: resolved 1, reused 0, downloaded 0, added 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions