Skip to content

Upgrade from 22.5.1 to 22.6.0 fails with error /bin/sh: 1: babel: not found #263

@tmorehouse

Description

@tmorehouse

After upgrading to 22.6.0, we get the following build error when installing eslint-plugin-jest:

error /root/project/bootstrap-vue/node_modules/eslint-plugin-jest: Command failed.
Exit code: 1
Command: yarn build
Arguments: 
Directory: /root/project/bootstrap-vue/node_modules/eslint-plugin-jest
Output:
yarn run v1.13.0
$ babel --extensions .js,.ts src --out-dir lib
/bin/sh: 1: babel: not found
error Command failed with exit code 127.

Fails due to the postinstall command introduced via #257 which tries to compile files with babel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions