On 12/12/2017 02:40 PM, Paolo Greppi wrote:
> Does adding to the webpack config:
> 
> resolveLoader: {
>     modules: ['/usr/lib/nodejs'],
>   },
> 
> as in here:
> 
> https://anonscm.debian.org/git/pkg-javascript/vue.js.git/tree/debian/webpack.config.js#n11
> 
> help ?
> 
> Paolo
> 
> 
Found this solution and it fixed that issue
https://github.com/webpack-contrib/css-loader/issues/447

Added,

node: {
  fs: 'empty'
}

But now we need to fix the tests (other targets are failing too).

==> [Test :: BDD]
"bin/mocha" --ui bdd \
        test/interfaces/bdd.spec


  integer primitives
    arithmetic
      1) should add
      2) should subtract

  integer primitives
    arithmetic is not
      3) should add

  test suite
    4) share a property


  0 passing (12ms)
  4 failing

  1) integer primitives
       arithmetic
         should add:
     ReferenceError: expect is not defined
      at Context.<anonymous> (test/interfaces/bdd.spec.js:6:7)
      at callFn (lib/runnable.js:354:21)
      at Test.Runnable.run (lib/runnable.js:346:7)
      at Runner.runTest (lib/runner.js:442:10)
      at lib/runner.js:560:12
      at next (lib/runner.js:356:14)
      at lib/runner.js:366:7
      at next (lib/runner.js:290:14)
      at Immediate.<anonymous> (lib/runner.js:334:5)

  2) integer primitives
       arithmetic
         should subtract:
     ReferenceError: expect is not defined
      at Context.<anonymous> (test/interfaces/bdd.spec.js:11:7)
      at callFn (lib/runnable.js:354:21)
      at Test.Runnable.run (lib/runnable.js:346:7)
      at Runner.runTest (lib/runner.js:442:10)
      at lib/runner.js:560:12
      at next (lib/runner.js:356:14)
      at lib/runner.js:366:7
      at next (lib/runner.js:290:14)
      at Immediate.<anonymous> (lib/runner.js:334:5)

  3) integer primitives
       arithmetic is not
         should add:
     ReferenceError: expect is not defined
      at Context.<anonymous> (test/interfaces/bdd.spec.js:20:7)
      at callFn (lib/runnable.js:354:21)
      at Test.Runnable.run (lib/runnable.js:346:7)
      at Runner.runTest (lib/runner.js:442:10)
      at lib/runner.js:560:12
      at next (lib/runner.js:356:14)
      at lib/runner.js:366:7
      at next (lib/runner.js:290:14)
      at Immediate.<anonymous> (lib/runner.js:334:5)

  4) test suite
       share a property:
     ReferenceError: expect is not defined
      at Context.<anonymous> (test/interfaces/bdd.spec.js:32:5)
      at callFn (lib/runnable.js:354:21)
      at Test.Runnable.run (lib/runnable.js:346:7)
      at Runner.runTest (lib/runner.js:442:10)
      at lib/runner.js:560:12
      at next (lib/runner.js:356:14)
      at lib/runner.js:366:7
      at next (lib/runner.js:290:14)
      at lib/runner.js:329:7
      at done (lib/runnable.js:301:5)
      at callFn (lib/runnable.js:372:7)
      at Hook.Runnable.run (lib/runnable.js:346:7)
      at next (lib/runner.js:304:10)
      at Immediate.<anonymous> (lib/runner.js:334:5)


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to