Code Monkey home page Code Monkey logo

Comments (5)

jhnns avatar jhnns commented on May 11, 2024

Could you also copy the complete stack trace of the error?

from rewire.

topa avatar topa commented on May 11, 2024

Uncaught Error: Cannot find module 'rewire' tests.js:6
require tests.js:6
(anonymous function) webpack-module:///home/topa/Applications/nvm/v0.8.9/lib//nof5/lib/bundler/webpackLoader.js!/home/topa/Applications/nvm/v0.8.9/lib//nof5/lib/bundler/webpackEntry.js:1
window.nof5.enableTests tests.js:28
window.nof5.enableTests tests.js:29
require tests.js:12
window.nof5.enableTests tests.js:20
window.nof5.enableTests tests.js:22
onConnect testRunner.js:59
sayHello nof5.js:32
EventEmitter.emit socket.io.js:633
SocketNamespace.onPacket socket.io.js:2218
Socket.onPacket socket.io.js:1930
Transport.onPacket socket.io.js:1332
Transport.onData socket.io.js:1303
WS.open.websocket.onmessage

from rewire.

topa avatar topa commented on May 11, 2024

It seems that I've just forgotten to set

{ output: "bundle.js" }

But now there is an other error. Stay tuned ...

from rewire.

topa avatar topa commented on May 11, 2024

nof5's WepbackBundler must return a String, but if I add the option from above like in the rewire documentation described a call to the function webpack() isn't returning a string, but instead an object.

So this is not the Error.

from rewire.

topa avatar topa commented on May 11, 2024

With the last update (1.0.1) it is working now. Thanks a lot for your work!

from rewire.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.