Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

3.0.0-rc.1 - Uncaught TypeError: [object Object] is not a function #565

Closed
joshwiens opened this issue Jul 7, 2017 · 7 comments
Closed

Comments

@joshwiens
Copy link
Member

joshwiens commented Jul 7, 2017

  1. Check the version of package you are using. If it's not the newest version, update and try again (see changelog while updating!).
  2. If the issue is still there, write a minimal project showing the problem and expected output.
  3. Link to the project and mention Node version and OS in your report.

IMPORTANT! You should use Stack Overflow for support related questions.

Moved into separate issue from @insin

Haven't dug into this yet, but here's a test failure with 3.0.0-rc.1 in nwb:

https://travis-ci.org/insin/nwb/jobs/251228471#L2610

Stack trace
     Uncaught TypeError: [object Object] is not a function!
      at TypeError (native)
      at module.exports (node_modules/core-js/modules/_a-function.js:2:36)
      at Array.sort (node_modules/core-js/modules/es6.array.sort.js:21:36)
      at SortableSet.sortWith (node_modules/webpack/lib/util/SortableSet.js:31:40)
      at Chunk.sortModules (node_modules/webpack/lib/Chunk.js:425:17)
      at node_modules/extract-text-webpack-plugin/dist/index.js:188:19
      at node_modules/async/dist/async.js:3083:16
      at eachOfArrayLike (node_modules/async/dist/async.js:1003:9)
      at eachOf (node_modules/async/dist/async.js:1051:5)
      at Object.eachLimit (node_modules/async/dist/async.js:3145:5)
      at Compilation. (node_modules/extract-text-webpack-plugin/dist/index.js:184:27)
      at Compilation.applyPluginsAsyncSeries (node_modules/tapable/lib/Tapable.js:142:13)
      at Compilation.seal (node_modules/webpack/lib/Compilation.js:578:8)
      at node_modules/webpack/lib/Compiler.js:510:16
      at node_modules/tapable/lib/Tapable.js:225:11
      at _addModuleChain (node_modules/webpack/lib/Compilation.js:480:11)
      at processModuleDependencies.err (node_modules/webpack/lib/Compilation.js:451:13)
      at _combinedTickCallback (internal/process/next_tick.js:73:7)
      at process._tickCallback (internal/process/next_tick.js:104:9)

Reproducible in https://github.com/insin/nwb

@insin
Copy link
Contributor

insin commented Jul 7, 2017

Edit from the other issue - these work if I run them individually but fail the same way if I run the whole suite locally, might be an issue with async tests running into eachother somehow.

@michael-ciniawsky
Copy link
Member

michael-ciniawsky commented Jul 7, 2017

Maybe related to #554. Seems to be 'caused' by karma (or a 'karma-ish' environment) somehow

@insin
Copy link
Contributor

insin commented Jul 7, 2017

If I .skip the one part of that group of tests which runs Karma tests on a test fixture project, it works!

@joshwiens
Copy link
Member Author

@insin - Should be fixed in the above pull request. I'll get another rc out as soon as it lands.

@joshwiens
Copy link
Member Author

Pick up [email protected]

@insin
Copy link
Contributor

insin commented Jul 10, 2017

Confirming as fixed, thanks!

@joshwiens
Copy link
Member Author

No problem :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants