karma-runner / karma-sauce-launcher

A Karma plugin. Launch any browser on SauceLabs!
MIT License
199 stars 103 forks source link

Saucelabs not getting registered #72

Closed vernak2539 closed 4 years ago

vernak2539 commented 9 years ago

Having trouble getting this running in my personal project. I've tried the example repo, but it seems to have the same issue. The the errors below are from the sample project. Nothing has been modified in any file.

I've tried with the connection started via binaries and sauceConnect set to false. I've tried unencrypted username and accessKey and encrypted.

Karma version: 0.12.37 Node Version: 0.12.2 OS: Mac OS X 10.10.3

Same thing seems to happen on node v0.10.x, but it adds an error message referencing jasmine not being present.

[AAV:.../github/karma-sauce-example]$ karma start karma.conf-ci.js                                                                                 (master)
WARN [reporter]: Can not load "saucelabs", it is not registered!
  Perhaps you are missing some plugin?
INFO [karma]: Karma v0.12.37 server started at http://localhost:9876/
WARN [launcher]: Can not load "SL_Chrome"!
  Error: No provider for "launcher:SauceLabs". Can not use provider from the parent!
    at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:84:17
    at Array.forEach (native)
    at createChild (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:82:27)
    at module.(anonymous function) (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/config.js:180:25)
    at Array.invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
    at get (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:48:43)
    at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:57:72
    at Array.forEach (native)
    at launch (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:40:11)
    at invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
WARN [launcher]: Can not load "SL_InternetExplorer"!
  Error: No provider for "launcher:SauceLabs". Can not use provider from the parent!
    at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:84:17
    at Array.forEach (native)
    at createChild (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:82:27)
    at module.(anonymous function) (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/config.js:180:25)
    at Array.invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
    at get (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:48:43)
    at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:57:72
    at Array.forEach (native)
    at launch (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:40:11)
    at invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
WARN [launcher]: Can not load "SL_FireFox"!
  Error: No provider for "launcher:SauceLabs". Can not use provider from the parent!
    at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:84:17
    at Array.forEach (native)
    at createChild (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:82:27)
    at module.(anonymous function) (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/config.js:180:25)
    at Array.invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
    at get (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:48:43)
    at /Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:57:72
    at Array.forEach (native)
    at launch (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/lib/launcher.js:40:11)
    at invoke (/Users/AAV/.nvm/versions/node/v0.12.2/lib/node_modules/karma/node_modules/di/lib/injector.js:75:15)
matthewjh commented 9 years ago

I'm having the same issue, preventing me from using this module entirely.

vernak2539 commented 9 years ago

@matthewjh I ended up just running it on TravisCI, and not locally. That being said, here are a few things I found when testing this out.

  1. Using the karma-sauce-example sauce.json file only worked when the username and accessKey were unsecure. Not good if you want to add it to open source
  2. It only worked on windows when trying to run locally, although I did not test with linux, but I assume it works since that's what's run on TravisCI
  3. Saucelabs is hit or miss almost 100% of the time

The setup that I merged into my work can be found in this PR.

I know it's not a fix, but hopefully this sheds a little more light on the situation

sbichenko commented 9 years ago

I fixed this exact error by adding 'karma-sauce-launcher' to plugins in karma config file.

vernak2539 commented 9 years ago

Will have to try that. Assumed it wasn't needed since karma init didn't output it in the base config file and all others seem to work without registering. @sbichenko thanks

mrsimonemms commented 9 years ago

You can also fix this error by removing the plugins array entirely. I found that more useful an approach

vernak2539 commented 9 years ago

@riggerthegeek there is no plugins array in the example config file. Wish that would have worked. Adding karma-sauce-launcher to the plugins array seemed but still wonder why this is the only one I have to do it for

mrsimonemms commented 9 years ago

@vernak2539 that is very strange. I've created a gist of my setup. There's no plugins in at all. Hopefully, you'll be able to work out what's different between mine and yours

I've also put my package.json in there. It may be that something like the grunt loader or the Karma version is doing the loading automatically (I'm using Karma v0.12 rather than 0.13 because of an issue I found with IE6 support and I need it for this project).

By the by, that's not my full Gruntfile.js, just the relevant bits for this

saulshanabrook commented 9 years ago

@vernak2539 I was having the same problem. You have to include it manually if you define the plugins setting, because by default karma adds all npm modules installed that start with karma- to your plugins. If you define plugins manually, then you have to add them individually.

vernak2539 commented 9 years ago

@riggerthegeek @saulshanabrook a plugins array was not defined. It happened on my codebase and the example provided by the sauce team (stated in a comment above)

Also

Karma version: 0.12.37 Node Version: 0.12.2 OS: Mac OS X 10.10.3

Adding the plugin array did solve it, I just had to add all plugins I was using.

Like I asked before, why would I have to include the plugin array just for this plugin and none of the other ones? Like stated before, it should load plugins that start with karma-

mhamel06 commented 9 years ago

I just had the same issue but above the warning it said

WARN [plugin]: Error during loading "karma-sauce-launcher" plugin:
  Cannot find module 'request'
WARN [reporter]: Can not load "junit", it is not registered!
  Perhaps you are missing some plugin?
WARN [reporter]: Can not load "saucelabs", it is not registered!
  Perhaps you are missing some plugin?

Installing request fixed my issue.

CurtisHumphrey commented 8 years ago

I'm getting this same error and I tried the fix of listing out the plugins and it does not work for me. See: https://github.com/CurtisHumphrey/es6-library-boilerplate and its Travis for details: https://travis-ci.org/CurtisHumphrey/es6-library-boilerplate/builds/107020222

ghost commented 8 years ago

Hi, I was having the same error when trying the Karma Example (i.e https://wiki.saucelabs.com/display/DOCS/Setting+Up+Karma+for+JavaScript+Unit+Testing+on+Sauce+Labs).

After looking more into this issue, I noticed that I was missing the Sauce Labs npm module (i.e https://www.npmjs.com/package/saucelabs). Thus following these steps solved the problem on my end:

  1. git clone https://github.com/saucelabs/karma-sauce-example.git &&
  2. cd karma-sauce-example
  3. verify that you have Karma globally installed (e.g karma --version)
  4. verify that you have npm globally installed (e.g npm --version)
  5. install the Sauce Labs npm module (e.g npm install saucelabs)
  6. install the suite development dependencies (e.g npm install)
  7. run the tests (e.g npm test)

I hope that helps! Best, Albedith Golovnya

coding365days commented 6 years ago

Hi All, I suddenly ended up with this big list of warnings and errors in my angular 6 app. Please help.

WARNING in ./node_modules/protractor/built/configParser.js 135:25-42 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/runner.js 405:19-41 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/debugger.js 40:33-40 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./node_modules/protractor/built/util.js 43:27-75 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js 47:25-57 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/plugins.js 52:32-45 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js 62:25-57 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js 75:26-59 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'LiveScript' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built'

WARNING in ./node_modules/ws/lib/BufferUtil.js Module not found: Error: Can't resolve 'bufferutil' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib'

WARNING in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'coffee-script' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built'

WARNING in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'coffeescript' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built'

WARNING in ./node_modules/protractor/node_modules/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\source-map-support'

WARNING in ./node_modules/protractor/node_modules/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'module' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\source-map-support'

WARNING in ./node_modules/minimatch/minimatch.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\minimatch'

WARNING in ./node_modules/webdriver-js-extender/node_modules/sax/lib/sax.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\sax\lib'

WARNING in ./node_modules/xml2js/node_modules/sax/lib/sax.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\xml2js\node_modules\sax\lib'

WARNING in ./node_modules/ws/lib/Validation.js Module not found: Error: Can't resolve 'utf-8-validate' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib'

ERROR in ./node_modules/saucelabs/index.js Module not found: Error: Can't resolve './lib-cov/SauceLabs' in 'D:\user\workarea\collaborator-app\node_modules\saucelabs' ERROR in ./node_modules/protractor/built/runner.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/bpRunner.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/io/exec.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/io/exec.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\io' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'constants' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/aws-sign2/index.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\aws-sign2' ERROR in ./node_modules/aws4/aws4.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\aws4' ERROR in ./node_modules/ecc-jsbn/index.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ecc-jsbn' ERROR in ./node_modules/http-signature/lib/signer.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\http-signature\lib' ERROR in ./node_modules/http-signature/lib/verify.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\http-signature\lib' ERROR in ./node_modules/oauth-sign/index.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\oauth-sign' ERROR in ./node_modules/request/lib/helpers.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/request/lib/oauth.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/request/lib/hawk.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/saucelabs/lib/SauceLabs.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\saucelabs\lib' ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\node_modules\tmp\lib' ERROR in ./node_modules/sshpk/lib/utils.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/private-key.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/identity.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/dhe.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/certificate.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/key.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/fingerprint.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/signature.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/formats/ssh-private.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib\formats' ERROR in ./node_modules/sshpk/lib/formats/pem.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib\formats' ERROR in ./node_modules/sshpk/lib/formats/openssh-cert.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib\formats' ERROR in ./node_modules/ws/lib/Sender.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/ws/lib/WebSocketServer.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/adm-zip/adm-zip.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip' ERROR in ./node_modules/adm-zip/zipFile.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip' ERROR in ./node_modules/adm-zip/util/utils.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/adm-zip/util/fattr.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/fs.realpath/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\fs.realpath' ERROR in ./node_modules/fs.realpath/old.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\fs.realpath' ERROR in ./node_modules/glob/glob.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/glob/sync.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/options/lib/options.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\options\lib' ERROR in ./node_modules/protractor/built/logger.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/driverProviders/direct.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/built/driverProviders/local.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/binaries/config_source.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\binaries' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/binaries/binary.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\binaries' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\cli' ERROR in ./node_modules/request/lib/har.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/rimraf/rimraf.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\rimraf' ERROR in ./node_modules/selenium-webdriver/ie.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/opera.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/chrome.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/phantomjs.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/edge.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\node_modules\tmp\lib' ERROR in ./node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/safari.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/chrome.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/phantomjs.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/ie.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/edge.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/opera.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\io' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/blocking-proxy/built/lib/simple_webdriver_client.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/blocking-proxy/built/lib/client.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_proxy.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/blocking-proxy/built/lib/blockingproxy.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/http-signature/lib/signer.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\http-signature\lib' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\http' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/safari.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\http' ERROR in ./node_modules/ws/lib/WebSocketServer.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/agent-base/patch-core.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\agent-base' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/protractor/built/driverProviders/browserStack.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/saucelabs/lib/SauceLabs.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\saucelabs\lib' ERROR in ./node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\http' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\http' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/https-proxy-agent/index.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\https-proxy-agent' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/tough-cookie/lib/cookie.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\tough-cookie\lib' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib' ERROR in ./node_modules/selenium-webdriver/net/index.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/index.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/adm-zip/adm-zip.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip' ERROR in ./node_modules/adm-zip/util/fattr.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/adm-zip/util/utils.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/fs.realpath/old.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\fs.realpath' ERROR in ./node_modules/glob/glob.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/glob/sync.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/glob/common.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/mime-types/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\mime-types' ERROR in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/util.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/logger.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/driverProviders/local.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/built/driverProviders/direct.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/node_modules/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\source-map-support' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/binaries/config_source.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\binaries' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\cli' ERROR in ./node_modules/rimraf/rimraf.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\rimraf' ERROR in ./node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/io/zip.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\node_modules\tmp\lib' ERROR in ./node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/built/lib/command_definition.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\built\lib' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/safari.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\io' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'repl' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/assert-plus/assert.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\assert-plus' ERROR in ./node_modules/combined-stream/lib/combined_stream.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\combined-stream\lib' ERROR in ./node_modules/delayed-stream/lib/delayed_stream.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\delayed-stream\lib' ERROR in ./node_modules/isstream/isstream.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\isstream' ERROR in ./node_modules/jszip/lib/readable-stream-browser.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\jszip\lib' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/sshpk/lib/ed-compat.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/xml2js/lib/parser.js Module not found: Error: Can't resolve 'timers' in 'D:\user\workarea\collaborator-app\node_modules\xml2js\lib' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/https-proxy-agent/index.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\https-proxy-agent' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/ws/lib/WebSocketServer.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'vm' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'vm' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'vm' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox'river\firefox' ERROR in ./node_modules/adm-zip/methods/inflater.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\methods' ERROR in ./node_modules/adm-zip/methods/deflater.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\methods' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/ws/lib/PerMessageDeflate.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/blocking-proxy/built/lib/bin.js Module parse failed: Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type. | #!/usr/bin/env node | "use strict"; | Object.defineProperty(exports, "__esModule", { value: true }); i 「wdm」: Failed to compile.

yakovyashfe commented 6 years ago

Hi All, I suddenly ended up with this big list of warnings and errors in my angular 6 app. Please help.

WARNING in ./node_modules/protractor/built/configParser.js 135:25-42 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/runner.js 405:19-41 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/debugger.js 40:33-40 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

WARNING in ./node_modules/protractor/built/util.js 43:27-75 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js 47:25-57 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/plugins.js 52:32-45 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js 62:25-57 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js 75:26-59 Critical dependency: the request of a dependency is an expression

WARNING in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'LiveScript' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built'

WARNING in ./node_modules/ws/lib/BufferUtil.js Module not found: Error: Can't resolve 'bufferutil' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib'

WARNING in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'coffee-script' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built'

WARNING in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'coffeescript' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built'

WARNING in ./node_modules/protractor/node_modules/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\source-map-support'

WARNING in ./node_modules/protractor/node_modules/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'module' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\source-map-support'

WARNING in ./node_modules/minimatch/minimatch.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\minimatch'

WARNING in ./node_modules/webdriver-js-extender/node_modules/sax/lib/sax.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\sax\lib'

WARNING in ./node_modules/xml2js/node_modules/sax/lib/sax.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\xml2js\node_modules\sax\lib'

WARNING in ./node_modules/ws/lib/Validation.js Module not found: Error: Can't resolve 'utf-8-validate' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib'

ERROR in ./node_modules/saucelabs/index.js Module not found: Error: Can't resolve './lib-cov/SauceLabs' in 'D:\user\workarea\collaborator-app\node_modules\saucelabs' ERROR in ./node_modules/protractor/built/runner.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/bpRunner.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/io/exec.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/io/exec.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\io' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'child_process' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'constants' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/aws-sign2/index.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\aws-sign2' ERROR in ./node_modules/aws4/aws4.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\aws4' ERROR in ./node_modules/ecc-jsbn/index.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ecc-jsbn' ERROR in ./node_modules/http-signature/lib/signer.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\http-signature\lib' ERROR in ./node_modules/http-signature/lib/verify.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\http-signature\lib' ERROR in ./node_modules/oauth-sign/index.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\oauth-sign' ERROR in ./node_modules/request/lib/helpers.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/request/lib/oauth.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/request/lib/hawk.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/saucelabs/lib/SauceLabs.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\saucelabs\lib' ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\node_modules\tmp\lib' ERROR in ./node_modules/sshpk/lib/utils.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/private-key.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/identity.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/dhe.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/certificate.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/key.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/fingerprint.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/signature.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/sshpk/lib/formats/ssh-private.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib\formats' ERROR in ./node_modules/sshpk/lib/formats/pem.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib\formats' ERROR in ./node_modules/sshpk/lib/formats/openssh-cert.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib\formats' ERROR in ./node_modules/ws/lib/Sender.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/ws/lib/WebSocketServer.js Module not found: Error: Can't resolve 'crypto' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/adm-zip/adm-zip.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip' ERROR in ./node_modules/adm-zip/zipFile.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip' ERROR in ./node_modules/adm-zip/util/utils.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/adm-zip/util/fattr.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/fs.realpath/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\fs.realpath' ERROR in ./node_modules/fs.realpath/old.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\fs.realpath' ERROR in ./node_modules/glob/glob.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/glob/sync.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/options/lib/options.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\options\lib' ERROR in ./node_modules/protractor/built/logger.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/driverProviders/direct.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/built/driverProviders/local.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/binaries/config_source.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\binaries' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/binaries/binary.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\binaries' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\cli' ERROR in ./node_modules/request/lib/har.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\request\lib' ERROR in ./node_modules/rimraf/rimraf.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\rimraf' ERROR in ./node_modules/selenium-webdriver/ie.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/opera.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/chrome.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/phantomjs.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/edge.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver' ERROR in ./node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\node_modules\tmp\lib' ERROR in ./node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/safari.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/chrome.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/phantomjs.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/ie.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/edge.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/opera.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\io' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'fs' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/blocking-proxy/built/lib/simple_webdriver_client.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/blocking-proxy/built/lib/client.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_proxy.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/blocking-proxy/built/lib/blockingproxy.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/http-signature/lib/signer.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\http-signature\lib' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\http' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/safari.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\http' ERROR in ./node_modules/ws/lib/WebSocketServer.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'http' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/agent-base/patch-core.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\agent-base' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/protractor/built/driverProviders/browserStack.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/saucelabs/lib/SauceLabs.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\saucelabs\lib' ERROR in ./node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\http' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/http/index.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\http' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'https' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/https-proxy-agent/index.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\https-proxy-agent' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/tough-cookie/lib/cookie.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\tough-cookie\lib' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/portprober.js Module not found: Error: Can't resolve 'net' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib' ERROR in ./node_modules/selenium-webdriver/net/index.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/net/index.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\net' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'os' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/adm-zip/adm-zip.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip' ERROR in ./node_modules/adm-zip/util/fattr.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/adm-zip/util/utils.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\util' ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\blocking-proxy\built\lib' ERROR in ./node_modules/fs.realpath/old.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\fs.realpath' ERROR in ./node_modules/glob/glob.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/glob/sync.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/glob/common.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\glob' ERROR in ./node_modules/mime-types/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\mime-types' ERROR in ./node_modules/protractor/built/configParser.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/util.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/logger.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/protractor/built/driverProviders/local.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/built/driverProviders/direct.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built\driverProviders' ERROR in ./node_modules/protractor/node_modules/source-map-support/source-map-support.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\source-map-support' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/config.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/binaries/config_source.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\binaries' ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\protractor\node_modules\webdriver-manager\built\lib\cli' ERROR in ./node_modules/rimraf/rimraf.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\rimraf' ERROR in ./node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/io/zip.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\io' ERROR in ./node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\node_modules\tmp\lib' ERROR in ./node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/built/lib/command_definition.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\built\lib' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/safari.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/extension.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/binary.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/io/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\io' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/lib/devmode.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\lib' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/remote/index.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\remote' ERROR in ./node_modules/webdriver-js-extender/node_modules/tmp/lib/tmp.js Module not found: Error: Can't resolve 'path' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\tmp\lib' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'repl' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/assert-plus/assert.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\assert-plus' ERROR in ./node_modules/combined-stream/lib/combined_stream.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\combined-stream\lib' ERROR in ./node_modules/delayed-stream/lib/delayed_stream.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\delayed-stream\lib' ERROR in ./node_modules/isstream/isstream.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\isstream' ERROR in ./node_modules/jszip/lib/readable-stream-browser.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\jszip\lib' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/sshpk/lib/ed-compat.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\sshpk\lib' ERROR in ./node_modules/ws/lib/WebSocket.js Module not found: Error: Can't resolve 'stream' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/xml2js/lib/parser.js Module not found: Error: Can't resolve 'timers' in 'D:\user\workarea\collaborator-app\node_modules\xml2js\lib' ERROR in ./node_modules/forever-agent/index.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\forever-agent' ERROR in ./node_modules/https-proxy-agent/index.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\https-proxy-agent' ERROR in ./node_modules/tunnel-agent/index.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\tunnel-agent' ERROR in ./node_modules/ws/lib/WebSocketServer.js Module not found: Error: Can't resolve 'tls' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/protractor/built/debugger.js Module not found: Error: Can't resolve 'vm' in 'D:\user\workarea\collaborator-app\node_modules\protractor\built' ERROR in ./node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'vm' in 'D:\user\workarea\collaborator-app\node_modules\selenium-webdriver\firefox' ERROR in ./node_modules/webdriver-js-extender/node_modules/selenium-webdriver/firefox/profile.js Module not found: Error: Can't resolve 'vm' in 'D:\user\workarea\collaborator-app\node_modules\webdriver-js-extender\node_modules\selenium-webdriver\firefox'river\firefox' ERROR in ./node_modules/adm-zip/methods/inflater.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\methods' ERROR in ./node_modules/adm-zip/methods/deflater.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\adm-zip\methods' ERROR in ./node_modules/request/request.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\request' ERROR in ./node_modules/ws/lib/PerMessageDeflate.js Module not found: Error: Can't resolve 'zlib' in 'D:\user\workarea\collaborator-app\node_modules\ws\lib' ERROR in ./node_modules/blocking-proxy/built/lib/bin.js Module parse failed: Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type. | #!/usr/bin/env node | "use strict"; | Object.defineProperty(exports, "__esModule", { value: true }); i 「wdm」: Failed to compile.

same problem here

coding365days commented 6 years ago

I wanted to involve EventEmitter in my angular 6 program and by mistakenly i imported it from protractor instead of @angular/core. So please check if you have done any such mistake.

PakinamElBanna commented 5 years ago

@coding365days You saved my life!

Renanmacedo commented 5 years ago

@yakovyashfe this was the same mistake I had. Check your import, probably some import is wrong or cannot be imported. import { element } from 'protractor' "Module parse failed: Unexpected character '#' (1:0) You may need an appropriate loader to handle this file type.

!/usr/bin/env node

| "use strict"; | Object.defineProperty(exports, "__esModule", { value: true });" Above, it's my error in console.

Renanmacedo commented 5 years ago

@vernak2539 close this issue, please.