Skip to content

Cannot find namespace 'process'. #1500

@andredewaard

Description

@andredewaard

Version

3.0.0-beta.15

Reproduction link

https://vuejs.org/

Steps to reproduce

Create a new project based on vue-cli@3.0.0-beta.15 and choose to use TypeScript. Add .env to root of project and set VUE_APP_BASE_URI=/api.
Use process.env.VUE_APP_BASE_URI in an .ts file.

What is expected?

No error in linting

What is actually happening?

Error: Cannot find namespace 'process'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionThis issue is missing a minimal runnable reproduction, provided by the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions