[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(0 , _typeof3.default) is not a function #2954

Closed
arshtepe opened this issue Nov 10, 2015 · 1 comment
Closed

(0 , _typeof3.default) is not a function #2954

arshtepe opened this issue Nov 10, 2015 · 1 comment
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue

Comments

@arshtepe
Copy link

this code in generated file

/*!*******************************************!*\
  !*** ./~/babel-runtime/helpers/typeof.js ***!
  \*******************************************/
/***/ function(module, exports, __webpack_require__) {

    "use strict";

    var _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ 88);

    var _typeof3 = _interopRequireDefault(_typeof2);

    function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

    var _Symbol = __webpack_require__(/*! babel-runtime/core-js/symbol */ 89)["default"];

    exports["default"] = function (obj) {
      return obj && obj.constructor === _Symbol ? "symbol" : typeof obj === "undefined" ? "undefined" : (0, _typeof3.default)(obj);
    }; // this i have error: Uncaught TypeError: (0 , _typeof3.default) is not a function

    exports.__esModule = true;

/***/ },

If change this on code from source-map, it is work

  return obj && obj.constructor === _Symbol ? "symbol" : typeof obj;

also this error have in
core-js/library/modules/es6.symbol.js
babel-runtime/~/core-js/library/modules/$.is-object.js

this error only with plugins: ['transform-runtime']

@jamiebuilds
Copy link
Contributor

Thanks to all the people who needlessly spammed this with +1s I am now locking this issue.

@hzoo hzoo removed the failing test label Feb 8, 2016
@hzoo hzoo added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jul 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

No branches or pull requests

5 participants