Skip to content

Travis-CI and Netlify Build Failure Due to environment virables #2789

@medmin

Description

@medmin

Version

3.0.0

Reproduction link

https://github.com/whizjs/superjs

Node and OS info

yarn 1.2
node v8.12

Steps to reproduce

You just add env part to travis.yml or add Build environment variables on netlify, the build will be failed.

It's not about npm or yarn. I tried both, and builds will be failed as long as the repo has enviroment variables.

And if you delete these virables, the build will be successful, magically. Not a single line of code needs to be changed.

What is expected?

7:56:02 PM: yarn run v1.3.2
7:56:03 PM: $ vue-cli-service build
7:56:03 PM: /bin/sh: 1: vue-cli-service: not found
7:56:03 PM: error Command failed with exit code 127.

What is actually happening?

build will be failed

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