Skip to content

There is a document error in the workflow setup tutorial section. #37

@zhouLion

Description

@zhouLion

https://www.ai-elements-vue.com/examples/workflow#setup

Image

When I run the creation script in the document, I get this error.

❌ You just ran npx create, which installs and run this npm package named 'create'.
You likely want npm create, the built-in npm command to install and run a package with a name like 'create-*'.
See: https://docs.npmjs.com/cli/commands/npm-init

According to the document description of create-vue, it should be modified

# npm 7+, extra double-dash is needed:
npm create vite@latest ai-workflow -- --template vue-ts

# yarn
yarn create vite ai-workflow --template vue-ts

# pnpm
pnpm create vite ai-workflow --template vue-ts

# Bun
bun create vite ai-workflow --template vue-ts

# Deno
deno init --npm vite ai-workflow --template vue-ts

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