Skip to content

Instantly share code, notes, and snippets.

@ELLIOTTCABLE
Created February 16, 2016 17:31
Show Gist options
  • Save ELLIOTTCABLE/96c2f2f5b10ca62fcfc6 to your computer and use it in GitHub Desktop.
Save ELLIOTTCABLE/96c2f2f5b10ca62fcfc6 to your computer and use it in GitHub Desktop.
node_modules/babel-core/lib/api/node.js:87
87: function transformFile(filename /*: string*/, opts /*:: ?: Object*/, callback /*: Function*/) {
^^^ Type annotations are not allowed in untyped mode
node_modules/babel-core/lib/api/register/cache.js:73
73: function get() {
^ return. Missing annotation
node_modules/babel-core/lib/api/register/node.js:23
23: var _transformationFileOptionsOptionManager = require("../../transformation/file/options/option-manager");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ../../transformation/file/options/option-manager. Required module not found
node_modules/babel-core/lib/api/register/node.js:31
31: var _node = require("../node");
^^^^^^^^^^^^^^^^^^ ../node. Required module not found
node_modules/babel-core/lib/helpers/normalize-ast.js:19
19: exports["default"] = function (ast /*: Object*/, comments /*:: ?: Array<Object>*/, tokens /*:: ?: Array<Object>*/) {
^ return. Missing annotation
node_modules/babel-core/lib/transformation/file/options/option-manager.js:69
69: /*:: import type Logger from "../logger";*/
^^^^ Type imports are not allowed in untyped mode
node_modules/babel-core/lib/transformation/pipeline.js:30
30: Pipeline.prototype.lint = function lint(code /*: string*/) /*: BabelFileResult*/ {
^^^^^^^^^^^^^^^ identifier `BabelFileResult`. Could not resolve name
node_modules/babel-core/lib/transformation/pipeline.js:56
56: Pipeline.prototype.analyse = function analyse(code /*: string*/, opts /*: Object*/, visitor /*:: ?: Object*/) /*: ?BabelFileMetadata*/ {
^^^^^^^^^^^^^^^^^ identifier `BabelFileMetadata`. Could not resolve name
node_modules/babel-core/lib/util.js:172
172: _i = _iterator.next();
^^^^ property `next`. Property not found in
172: _i = _iterator.next();
^^^^^^^^^^^^^^^^ Array
node_modules/babel-core/lib/util.js:190
190: _i2 = _iterator2.next();
^^^^ property `next`. Property not found in
190: _i2 = _iterator2.next();
^^^^^^^^^^^^^^^^^ Array
node_modules/babel-generator/lib/generators/jsx.js:73
73: _i = _iterator.next();
^^^^ property `next`. Property not found in
73: _i = _iterator.next();
^^^^^^^^^^^^^^^^ Array
node_modules/babel-generator/lib/generators/statements.js:256
256: _i = _iterator.next();
^^^^ property `next`. Property not found in
256: _i = _iterator.next();
^^^^^^^^^^^^^^^^ Array
node_modules/babel-types/lib/flow.js:21
21: function createUnionTypeAnnotation(types /*: Array<Object>*/) {
^ return. Missing annotation
node_modules/babel-types/lib/flow.js:113
113: function createTypeAnnotationBasedOnTypeof(type /*: string*/) {
^ return. Missing annotation
node_modules/babel-types/lib/index.js:170
170: _i = _iterator.next();
^^^^ property `next`. Property not found in
170: _i = _iterator.next();
^^^^^^^^^^^^^^^^ Array
node_modules/babel-types/lib/index.js:206
206: _i2 = _iterator2.next();
^^^^ property `next`. Property not found in
206: _i2 = _iterator2.next();
^^^^^^^^^^^^^^^^^ Array
node_modules/babel-types/lib/index.js:286
286: _i3 = _iterator3.next();
^^^^ property `next`. Property not found in
286: _i3 = _iterator3.next();
^^^^^^^^^^^^^^^^^ Array
node_modules/babel-types/lib/index.js:505
505: _i5 = _iterator5.next();
^^^^ property `next`. Property not found in
505: _i5 = _iterator5.next();
^^^^^^^^^^^^^^^^^ Array
node_modules/babel-types/lib/index.js:530
530: _i6 = _iterator6.next();
^^^^ property `next`. Property not found in
530: _i6 = _iterator6.next();
^^^^^^^^^^^^^^^^^ Array
node_modules/babel-types/lib/index.js:549
549: function assertNode(node /*:: ?*/) {
^^^^^^^^^^^ parameter `node`. Missing annotation
node_modules/babel-types/lib/index.js:552
552: throw new TypeError("Not a valid node " + (node && node.type));
^^^^ undefined. This type is incompatible with
552: throw new TypeError("Not a valid node " + (node && node.type));
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string
node_modules/babel-types/lib/index.js:560
560: function isNode(node /*:: ?*/) /*: boolean*/ {
^^^^^^^^^^^ parameter `node`. Missing annotation
node_modules/babel-types/lib/validators.js:109
109: _i = _iterator.next();
^^^^ property `next`. Property not found in
109: _i = _iterator.next();
^^^^^^^^^^^^^^^^ Array
Found 23 errors
@carlrosell
Copy link

Did you solve this issue or is there an issue somewhere where the discussion is going on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment