Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

error on yarn install , by yarn version 3.3.0 #144

Open
@binayachaudharys

Description

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

        AltStyle によって変換されたページ (->オリジナル) /