mean-expert-official/fireloop.io

Fireloop fresh install webpack error

sarpaykent opened this issue · 2 comments

What type of issue are you creating?

  • Bug
  • Enhancement
  • Question

What version of this module are you using?

  • 2.1.0-beta.n (2.1 Beta n)
  • Other

Write other if any:1.0.0-beta.2.7

Please add a description for your issue:

Hello, after creating project (server&client), there is a problem when serving client.

Logs:

Your global Angular CLI version (1.4.1) is greater than your local
version (1.0.0). The local Angular CLI version is used.

To disable this warning use "ng set --global warnings.versionMismatch=false".
** NG Live Development Server is running on http://localhost:4200 **
Hash: 22e895b62b4eb3287b15
Time: 8957ms
chunk    {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 183 kB {4} [initial] [rendered]
chunk    {1} main.bundle.js, main.bundle.js.map (main) 124 kB {3} [initial] [rendered]
chunk    {2} styles.bundle.js, styles.bundle.js.map (styles) 9.77 kB {4} [initial] [rendered]
chunk    {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 3.14 MB [initial] [rendered]
chunk    {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry] [rendered]

ERROR in ./~/socket.io-client/lib/manager.js
Module not found: Error: Can't resolve 'engine.io-client' in 'C:\Users\User\Desktop\fireLoop\TrollLoop\node_modules\socket.io-client\lib'
 @ ./~/socket.io-client/lib/manager.js 6:10-37
 @ ./~/socket.io-client/lib/index.js
 @ ./src/app/shared/sdk/sockets/socket.browser.ts
 @ ./src/app/shared/sdk/index.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
webpack: Failed to compile.

Solved with;
npm install --save-dev @angular/cli@latest

:D glad you found the issue..

cheers
Jon