Skip to content

error on yarn install , by yarn version 3.3.0 #144

@binayachaudharys

Description

@binayachaudharys

Issue summary

yarn --version is 3.3.0
after run command yarn create @shopify/app
on installing frontend
✔ Installed dependencies in /
✖ Command failed with exit code 1: yarn install
Usage Error: The nearest package directory (/tmp/6969cce505a7b0e959883ae7…
- If /tmp/6969cce505a7b0e959883ae7434bd6ac/app isn't intended to be a pro…
- If /tmp/6969cce505a7b0e959883ae7434bd6ac/app is intended to be a projec…
- Finally, if /tmp/6969cce505a7b0e959883ae7434bd6ac/app is fine and you i…
$ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache]…

i can't
Screenshot from 2022-11-24 13-30-30
create shopify app

Expected behavior

What do you think should happen?

Actual behavior

What actually happens?
external error ──────────────────────────────────────────────────────────────

Error coming from yarn install

Command failed with exit code 1: yarn install
Usage Error: The nearest package directory
(/tmp/6969cce505a7b0e959883ae7434bd6ac/app/web/frontend) doesn't seem to be part
of the project declared in /tmp/6969cce505a7b0e959883ae7434bd6ac/app.

  • If /tmp/6969cce505a7b0e959883ae7434bd6ac/app isn't intended to be a project,
    remove any yarn.lock and/or package.json file there.
  • If /tmp/6969cce505a7b0e959883ae7434bd6ac/app is intended to be a project, it
    might be that you forgot to list web/frontend in its workspace configuration.
  • Finally, if /tmp/6969cce505a7b0e959883ae7434bd6ac/app is fine and you intend
    web/frontend to be treated as a completely separate project (not even a
    workspace), create an empty yarn.lock file in it.

$ yarn install [--json] [--immutable] [--immutable-cache] [--check-cache]
[--inline-builds] [--mode #0]

Steps to reproduce the problem

Reduced test case

The best way to get your bug fixed is to provide a reduced test case.

Specifications

  • Browser:
  • Device:
  • Operating System:

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