Comments (9)
This might be related to this browserify/browserify#406. @substack any idea? //cc @terinjokes
from babelify.
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.
I'm looking at this.
Edit: I understand the problem, working to resolve.
from babelify.
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.
@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.
@terinjokes Woops sorry, I misunderstood, I didn't see the example command.
from babelify.
@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.
@davidpfahler you can check out my branch, which should resolve the issue for you.
from babelify.
Fixed in browserify 8.0.2 (browserify/browserify#1043), thanks @terinjokes.
from babelify.
Related Issues (20)
- Babel 7 Stable Released HOT 8
- Bundling hyperhtml-element with browserify/babelify not working
- transform-arrow-functions being ignored for external packages? HOT 5
- TypeError: extensions.indexOf is not a function
- TypeError: Cannot read property 'canCompile' of undefined HOT 5
- How to get babelify && preset-env to convert 'const' HOT 3
- Boolean options fail (e.g. --compact true) HOT 1
- usage of babel/polyfills HOT 4
- Not working "Why aren't files in node_modules being transformed?" HOT 14
- Use a Bundler for Development? HOT 1
- tsify + babelify + browserify with threejs modules: SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' (9:0) HOT 17
- Is it possible to disable asyncToGenerator? HOT 2
- TypeError: Cannot read property 'arrayify' of undefined HOT 2
- Is this incompatible with Babel 7? HOT 3
- If I don't specify any Babel plugins or presets, what exactly should happen? HOT 6
- Continued problems with issue #103 ('import' and 'export' may appear only with 'sourceType: module') HOT 4
- How to use with globally installed browserify? HOT 1
- No source being transformed HOT 1
- babelify + gulp with threejs modules: SyntaxError: 'import' and 'export' may appear only with 'sourceType: module' (9:0)
- 'import' and 'export' may appear only with 'sourceType: module' (14:0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babelify.