Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Error on update to 3.0.1 #404

Closed
migolo opened this issue Jul 10, 2017 · 3 comments
Closed

Error on update to 3.0.1 #404

migolo opened this issue Jul 10, 2017 · 3 comments

Comments

@migolo
Copy link

migolo commented Jul 10, 2017

The added script "postinstall" on package.json breaks the installation of the package on npm install command.

 "postinstall": "npm run babelify",

Can we remove it?

I am using Node v7.10.0 and npm v4.2.0

@migolo migolo changed the title Error on upgrade to 3.0.1 Error on update to 3.0.1 Jul 10, 2017
@migolo
Copy link
Author

migolo commented Jul 10, 2017

Error and NPM trace is:

sh: babel: command not found

npm ERR! Darwin 16.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "babelify"
npm ERR! node v7.10.0
npm ERR! npm  v4.2.0
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! postcss-cssnext@3.0.1 babelify: `babel src --out-dir lib`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the postcss-cssnext@3.0.1 babelify script 'babel src --out-dir lib'.

@passcod
Copy link

passcod commented Jul 10, 2017

Also getting that build error on 3.0.1: https://travis-ci.org/passcod/mechanicalbird/builds/251869693

@MoOx
Copy link
Owner

MoOx commented Jul 10, 2017

Oooopsy! Fixed in 3.0.2 😊

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants