Giter Site home page Giter Site logo

frontend-technical-test's People

Contributors

4dz avatar junaid-connect avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

frontend-technical-test's Issues

'gulp test' Error: Cannot find module 'jsdom'

Windows10, node 7.3.0, npm 3.10.10

I'm currently working on the technical test, but "gulp test" gives the following error even after reverting to the origin master branch:

C:\PROJECTS\connect-technical-test>gulp test
[23:38:27] Using gulpfile C:\PROJECTS\connect-technical-test\gulpfile.js
[23:38:27] Starting 'test'...
Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references t
o remove this warning.
[23:38:28] 'test' errored after 687 ms
[23:38:28] Error: Cannot find module 'jsdom'
    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> (C:/PROJECTS/connect-technical-test/setupTest.js:6:15)
    at Module._compile (module.js:571:32)
    at loader (C:\PROJECTS\connect-technical-test\node_modules\babel-register\lib\n
ode.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (C:\PROJECTS\connect
-technical-test\node_modules\babel-register\lib\node.js:154:7)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)

I have tried adding "jsdom" to packages.json just as a quick attempt at a fix, and that instead gives an error "jsdom is not a function".

I would normally spend more time trying to fix it or at least try to get closer to finding the cause but I am on vacation and need to get the technical test completed so will be focussing my time on the main task (without tests, eek!). If any further info is required please do ask, thanks.

Drew

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.