You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've create a new project and when I'm installing the latest version of trailpack-router and run npm test I get the following error:
> mocha "test/*.js" --reporter spec
1) "before all" hook
2) "after all" hook
0 passing (280ms)
2 failing
1) "before all" hook:
Error: Cannot find module 'call'
at Function.Module._resolveFilename (module.js:485:15)
at Function.Module._load (module.js:437:25)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> ({myProject}/node_modules/trailpack-router/lib/util.js:2:14)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> ({myProject}/node_modules/trailpack-router/lib/index.js:2:16)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> ({myProject}/node_modules/trailpack-router/index.js:2:13)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> ({myProject}/config/main.js:27:5)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> ({myProject}/config/index.js:13:16)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object.<anonymous> ({myProject}/index.js:4:18)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Context.before ({myProject}/test/setup.js:6:30)
at callFn ({myProject}/node_modules/mocha/lib/runnable.js:348:21)
at Hook.Runnable.run ({myProject}/node_modules/mocha/lib/runnable.js:340:7)
at next ({myProject}/node_modules/mocha/lib/runner.js:309:10)
at Immediate.<anonymous> ({myProject}/node_modules/mocha/lib/runner.js:339:5)
at runCallback (timers.js:781:20)
at tryOnImmediate (timers.js:743:5)
at processImmediate [as _immediateCallback] (timers.js:714:5)
2) "after all" hook:
TypeError: Cannot read property 'stop' of undefined
at Context.after ({myProject}/test/setup.js:11:20)
at callFn ({myProject}/node_modules/mocha/lib/runnable.js:348:21)
at Hook.Runnable.run ({myProject}/node_modules/mocha/lib/runnable.js:340:7)
at next ({myProject}/node_modules/mocha/lib/runner.js:309:10)
at Immediate.<anonymous> ({myProject}/node_modules/mocha/lib/runner.js:339:5)
at runCallback (timers.js:781:20)
at tryOnImmediate (timers.js:743:5)
at processImmediate [as _immediateCallback] (timers.js:714:5)
I've create a new project and when I'm installing the latest version of
trailpack-router
and runnpm test
I get the following error:here's my package.json
here's the
{myProject}/config/main.js
here's the
{myProject}/config/index.js
and here's the
{myProject}/index.js
The text was updated successfully, but these errors were encountered: