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'm using to use next-update with an node project that uses gulp-mocha. The project also depends on a second project loaded from a local npm server. That project also uses gulp-mocha.
$ next-update
[email protected] - Tests if module's dependencies can be updated to the newer version without breaking the tests
checking if the current state works
npm test
> [email protected] test /Users/jameshar/projects/my-npm-package
> gulp
[14:24:36] Using gulpfile /Users/jameshar/projects/my-npm-package/gulpfile.js
[14:24:36] Starting 'jshint'...
[14:24:36] Starting 'setup'...
Captured pid 21510
Initializing DynamoDB Local with the following configuration:
Port: 8000
InMemory: true
DbPath: null
SharedDb: true
shouldDelayTransientStatuses: true
CorsParams: *
[14:24:38] Finished 'jshint' after 2.49 s
[14:24:41] Finished 'setup' after 5.01 s
[14:24:41] Starting 'pre-test'...
[14:24:43] Finished 'pre-test' after 2.25 s
[14:24:43] Starting 'test'...
pid =====> 21510
[14:24:43] 'test' errored after 46 ms
[14:24:43] Error in plugin 'gulp-mocha'
Message:
Cannot find module 'nock'
Details:
code: MODULE_NOT_FOUND
Stack:
Error: Cannot find module 'nock'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/jameshar/projects/my-npm-package/node_modules/my-other-module/tests/mocks/index.js:1:74)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Object.Module._extensions.(anonymous function) [as .js] (/Users/jameshar/projects/my-npm-package/node_modules/istanbul/lib/hook.js:109:37)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
npm ERR! Test failed. See above for more details.
npm test returned 1test errors:
npm ERR! Test failed. See above for more details.
ERROR testing next working updates
The text was updated successfully, but these errors were encountered:
I'm using to use next-update with an node project that uses gulp-mocha. The project also depends on a second project loaded from a local npm server. That project also uses gulp-mocha.
The second project is failing during unit tests.
$ node --version
v7.8.0
$ npm --version
4.2.0
Packages.json includes:
This is the output when next-update is run:
The text was updated successfully, but these errors were encountered: