main
Last change
on this file since 0c6b92a was 0c6b92a, checked in by stefan toskovski <stefantoska84@…>, 5 weeks ago |
Pred finalna verzija
|
-
Property mode
set to
100755
|
File size:
717 bytes
|
Line | |
---|
1 | #!/usr/bin/env node
|
---|
2 | "use strict";
|
---|
3 |
|
---|
4 | var _path = require("path");
|
---|
5 |
|
---|
6 | var _path2 = _interopRequireDefault(_path);
|
---|
7 |
|
---|
8 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
---|
9 |
|
---|
10 | var globalMessage = _path2.default.dirname(process.execPath) === _path2.default.dirname(process.env._ || "") ? " -g" : "";
|
---|
11 |
|
---|
12 | console.error("You have mistakenly installed the `babel` package, which is a no-op in Babel 6.\n" + "Babel's CLI commands have been moved from the `babel` package to the `babel-cli` package.\n" + "\n" + " npm uninstall" + globalMessage + " babel\n" + " npm install --save-dev babel-cli\n" + "\n" + "See http://babeljs.io/docs/usage/cli/ for setup instructions.");
|
---|
13 | process.exit(1); |
---|
Note:
See
TracBrowser
for help on using the repository browser.