Skip to content

Using TOML with wrangler publish #3

@DvnCodes

Description

@DvnCodes

Hi there, I realise this may be using pre-release code but I've started a project with this setup.

The issue is I can publish to dev with wrangler2 as such:
npx wrangler@beta publish {directory} --name {name}

But I can't publish to different environments and routes using the the TOML: npx wrangler@beta publish
The error I'm getting is TypeError: Cannot read properties of undefined (reading '1')

If I don't use the wrangler beta and run publish I get "unexpected token 'export'"

Should wrangler1 work with this project?
How have you been deploying this? As you have a TOML

Thanks for any help you can offer.

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