Giter Club home page Giter Club logo

Comments (9)

jamiebuilds avatar jamiebuilds commented on May 12, 2024

This might be related to this browserify/browserify#406. @substack any idea? //cc @terinjokes

from babelify.

davidpfahler avatar davidpfahler commented on May 12, 2024

Let me give you the entire npm-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli   '/Users/djpfahler/.nvm/v0.10.33/bin/npm',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info prebuild [email protected]
6 verbose unsafe-perm in lifecycle true
7 info build [email protected]
8 verbose unsafe-perm in lifecycle true
9 info [email protected] Failed to exec build script
10 verbose stack Error: [email protected] build: `npm run ify -s > dist/index.js`
10 verbose stack Exit status 1
10 verbose stack     at EventEmitter.<anonymous> (/Users/djpfahler/.nvm/v0.10.33/lib/node_modules/npm/lib/utils/lifecycle.js:212:16)
10 verbose stack     at EventEmitter.emit (events.js:98:17)
10 verbose stack     at ChildProcess.<anonymous> (/Users/djpfahler/.nvm/v0.10.33/lib/node_modules/npm/lib/utils/spawn.js:14:12)
10 verbose stack     at ChildProcess.emit (events.js:98:17)
10 verbose stack     at maybeClose (child_process.js:756:16)
10 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:823:5)
11 verbose pkgid [email protected]
12 verbose cwd /Users/djpfahler/localhost/excellenteasy/boilerplate-angular-component
13 error Darwin 14.0.0
14 error argv "node" "/Users/djpfahler/.nvm/v0.10.33/bin/npm" "run" "build"
15 error node v0.10.33
16 error npm  v2.1.11
17 error code ELIFECYCLE
18 error [email protected] build: `npm run ify -s > dist/index.js`
18 error Exit status 1
19 error Failed at the [email protected] build script 'npm run ify -s > dist/index.js'.
19 error This is most likely a problem with the boilerplate-angular-component package,
19 error not with npm itself.
19 error Tell the author that this fails on your system:
19 error     npm run ify -s > dist/index.js
19 error You can get their info via:
19 error     npm owner ls boilerplate-angular-component
19 error There is likely additional logging output above.
20 verbose exit [ 1, true ]

from babelify.

terinjokes avatar terinjokes commented on May 12, 2024

I'm looking at this.

Edit: I understand the problem, working to resolve.

from babelify.

sebmck avatar sebmck commented on May 12, 2024

You just need to include the 6to5ify transform before any others.

On Saturday, 27 December 2014, Terin Stock [email protected] wrote:

I'm looking at this.

Reply to this email directly or view it on GitHub
#17 (comment).

Sebastian McKenzie

from babelify.

terinjokes avatar terinjokes commented on May 12, 2024

@sebmck Unfortunately, that advice does not work via the Browserify CLI, though it does work if you pass in a transform function in the JS API. I'm working to resolve this issue upstream in Browserify.

I went to edit this message, and instead accidentally deleted it. Sorry for the double post.

from babelify.

sebmck avatar sebmck commented on May 12, 2024

@terinjokes Woops sorry, I misunderstood, I didn't see the example command.

from babelify.

davidpfahler avatar davidpfahler commented on May 12, 2024

@terinjokes Thank you so much for looking into this. Drove me crazy today. Please ping me when you have something or if I could be of any help.

from babelify.

terinjokes avatar terinjokes commented on May 12, 2024

@davidpfahler you can check out my branch, which should resolve the issue for you.

from babelify.

jamiebuilds avatar jamiebuilds commented on May 12, 2024

Fixed in browserify 8.0.2 (browserify/browserify#1043), thanks @terinjokes.

from babelify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.