Skip to content

fail to run dev script in a new-cloned repo #313

@LoTwT

Description

@LoTwT

description

fail to run dev script in a new-cloned repo

errors

prepare:type

  • clone devtools-next
  • ni
  • nr dev

When applet prepares types, it requires ui. Referring to "dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" nr prepare:type && nr build:ui && turbo stub --concurrency 20", nr build:ui should be the first command.

image

resolve error

  • clone devtools-next
  • ni
  • nr build:ui first to skip over the prepare:type error
  • nr dev

electron requires client's outputs. When nr build:client first, it will work.

image

problems

Now it needs to

ni
nr build:ui
nr build:client
nr dev

or

ni
nr build
nr dev

Then I can successfully run the dev script.

expect

Only once run nr dev, then it works.

env

repo version: latest (4e9215e)

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