{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/1152","repository_url":"https://api.github.com/repos/jupyterlab/jupyterlab","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/1152/labels{/name}","comments_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/1152/comments","events_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/1152/events","html_url":"https://github.com/jupyterlab/jupyterlab/issues/1152","id":185096985,"number":1152,"title":"Error with npm test (Windows)","user":{"login":"MHC03","id":22367686,"avatar_url":"https://avatars.githubusercontent.com/u/22367686?v=3","gravatar_id":"","url":"https://api.github.com/users/MHC03","html_url":"https://github.com/MHC03","followers_url":"https://api.github.com/users/MHC03/followers","following_url":"https://api.github.com/users/MHC03/following{/other_user}","gists_url":"https://api.github.com/users/MHC03/gists{/gist_id}","starred_url":"https://api.github.com/users/MHC03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MHC03/subscriptions","organizations_url":"https://api.github.com/users/MHC03/orgs","repos_url":"https://api.github.com/users/MHC03/repos","events_url":"https://api.github.com/users/MHC03/events{/privacy}","received_events_url":"https://api.github.com/users/MHC03/received_events","type":"User","site_admin":false},"labels":[{"id":392845633,"url":"https://api.github.com/repos/jupyterlab/jupyterlab/labels/component:Build%20System","name":"component:Build System","color":"1d76db","default":false},{"id":390178969,"url":"https://api.github.com/repos/jupyterlab/jupyterlab/labels/status:Needs%20Info","name":"status:Needs Info","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-25T12:03:52Z","updated_at":"2016-10-31T13:49:20Z","closed_at":null,"body":"Hi guys,\n\nwhile trying to execute the tests via 'npm test' I get these Errors:\n\n```\nD:\\jupyterlab>npm test\n\n> jupyterlab@0.5.1 test D:\\jupyterlab\n> npm run test:firefox\n\n\n> jupyterlab@0.5.1 test:firefox D:\\jupyterlab\n> npm run build:test && cd test && python run-test.py --browsers=Firefox karma.c\nonf.js\n\n\n> jupyterlab@0.5.1 build:test D:\\jupyterlab\n> webpack --config test/webpack.conf.js\n\nError in bail mode: [default]\nCannot find type definition file for 'expect.js'.\n\nnpm ERR! Windows_NT 6.1.7601\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Anaconda2\\\\Library\\\\bin\n\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"build:test\"\nnpm ERR! node v6.9.1\nnpm ERR! npm  v3.10.9\nnpm ERR! code ELIFECYCLE\nnpm ERR! jupyterlab@0.5.1 build:test: `webpack --config test/webpack.conf.js`\nnpm ERR! Exit status 1\nnpm ERR!\nnpm ERR! Failed at the jupyterlab@0.5.1 build:test script 'webpack --config test\n/webpack.conf.js'.\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\nnpm ERR! If you do, this is most likely a problem with the jupyterlab package,\nnpm ERR! not with npm itself.\nnpm ERR! Tell the author that this fails on your system:\nnpm ERR!     webpack --config test/webpack.conf.js\nnpm ERR! You can get information on how to open an issue for this project with:\nnpm ERR!     npm bugs jupyterlab\nnpm ERR! Or if that isn't available, you can get their info via:\nnpm ERR!     npm owner ls jupyterlab\nnpm ERR! There is likely additional logging output above.\n\nnpm ERR! Please include the following file with any support request:\nnpm ERR!     D:\\jupyterlab\\npm-debug.log\n\nnpm ERR! Windows_NT 6.1.7601\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Anaconda2\\\\Library\\\\bin\n\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"test:firefox\"\nnpm ERR! node v6.9.1\nnpm ERR! npm  v3.10.9\nnpm ERR! code ELIFECYCLE\nnpm ERR! jupyterlab@0.5.1 test:firefox: `npm run build:test && cd test && python\n run-test.py --browsers=Firefox karma.conf.js`\nnpm ERR! Exit status 1\nnpm ERR!\nnpm ERR! Failed at the jupyterlab@0.5.1 test:firefox script 'npm run build:test\n&& cd test && python run-test.py --browsers=Firefox karma.conf.js'.\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\nnpm ERR! If you do, this is most likely a problem with the jupyterlab package,\nnpm ERR! not with npm itself.\nnpm ERR! Tell the author that this fails on your system:\nnpm ERR!     npm run build:test && cd test && python run-test.py --browsers=Fire\nfox karma.conf.js\nnpm ERR! You can get information on how to open an issue for this project with:\nnpm ERR!     npm bugs jupyterlab\nnpm ERR! Or if that isn't available, you can get their info via:\nnpm ERR!     npm owner ls jupyterlab\nnpm ERR! There is likely additional logging output above.\n\nnpm ERR! Please include the following file with any support request:\nnpm ERR!     D:\\jupyterlab\\npm-debug.log\nnpm ERR! Test failed.  See above for more details.\n```\n\nI also got the same error with an older nodejs, so updating npm and nodejs didn't really help.\n\n> jupyter --version\n> 4.2.0\n\nStarting jupyter lab is no problem but I also get a 404 in the console:\n\n> [W 13:53:06.582 LabApp] 404 GET /api/terminals?1477396386479 (::1) 24.00ms refer\n> er=http://localhost:8888/lab\n\nstrangely I cannot find any debug log in my folder.\n"},"comment":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/comments/257297971","html_url":"https://github.com/jupyterlab/jupyterlab/issues/1152#issuecomment-257297971","issue_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/1152","id":257297971,"user":{"login":"afshin","id":159529,"avatar_url":"https://avatars.githubusercontent.com/u/159529?v=3","gravatar_id":"","url":"https://api.github.com/users/afshin","html_url":"https://github.com/afshin","followers_url":"https://api.github.com/users/afshin/followers","following_url":"https://api.github.com/users/afshin/following{/other_user}","gists_url":"https://api.github.com/users/afshin/gists{/gist_id}","starred_url":"https://api.github.com/users/afshin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afshin/subscriptions","organizations_url":"https://api.github.com/users/afshin/orgs","repos_url":"https://api.github.com/users/afshin/repos","events_url":"https://api.github.com/users/afshin/events{/privacy}","received_events_url":"https://api.github.com/users/afshin/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T13:49:20Z","updated_at":"2016-10-31T13:49:20Z","body":"@MHC03 , could you try running `npm install --dev` before running the tests to see what happens?"}}
{"actor":{"display_login":"afshin"}}