Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. JavaScript
  4. I am getting the following error while trying to run ./watch for my Ember JS application

I am getting the following error while trying to run ./watch for my Ember JS application

Scheduled Pinned Locked Moved JavaScript
javascriptcsshelpcsharpvisual-studio
2 Posts 2 Posters 8 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    simpledeveloper
    wrote on last edited by
    #1

    I changed to a new machine and from Visual Studio 2017 to Visual Studio 2019 I started getting the following errors when I was running watch command as below, which I used to do from the beginning

    PS C:\GitSrsCodes\IMS\IMS.Ember> ./watch
    npm WARN file-loader@4.2.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN less-loader@5.0.0 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN sass-loader@8.0.0 requires a peer of webpack@^4.36.0 but none is installed. You must install peer dependencies yourself.
    npm WARN style-loader@1.0.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN uglifyjs-webpack-plugin@2.2.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN webpack-cli@3.3.10 requires a peer of webpack@4.x.x but none is installed. You must install peer dependencies yourself.
    npm WARN ims-ember@1.0.0 No description
    npm WARN ims-ember@1.0.0 No repository field.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

    updated 2 packages and audited 2375 packages in 14.249s
    
    18 packages are looking for funding
      run \`npm fund\` for details
    
    found 348 vulnerabilities (17 low, 1 moderate, 330 high)
      run \`npm audit fix\` to fix them, or \`npm audit\` for details
    
    webpack is watching the files…
    
    (node:14388) \[DEP\_WEBPACK\_WATCH\_WITHOUT\_CALLBACK\] DeprecationWarning: A 'callback' argument need to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.
    (Use \`node --trace-deprecation ...\` to show where the warning was created)
    assets by chunk 1.37 MiB (auxiliary name: app)
      assets by path \*.png 4.17 KiB 5 assets
      assets by path \*.svg 540 KiB 2 assets
      assets by path \*.eot 182 KiB 2 assets
      assets by path \*.ttf 206 KiB 2 assets
      assets by path \*.woff 119 KiB 2 assets
      assets by path \*.woff2 93 KiB 2 assets
      asset login-bg.jpg 248 KiB \[compared for emit\] (auxiliary name: app)
      asset loading.gif 8.28 KiB \[compared f
    
    J 1 Reply Last reply
    0
    • S simpledeveloper

      I changed to a new machine and from Visual Studio 2017 to Visual Studio 2019 I started getting the following errors when I was running watch command as below, which I used to do from the beginning

      PS C:\GitSrsCodes\IMS\IMS.Ember> ./watch
      npm WARN file-loader@4.2.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN less-loader@5.0.0 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN sass-loader@8.0.0 requires a peer of webpack@^4.36.0 but none is installed. You must install peer dependencies yourself.
      npm WARN style-loader@1.0.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN uglifyjs-webpack-plugin@2.2.0 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN webpack-cli@3.3.10 requires a peer of webpack@4.x.x but none is installed. You must install peer dependencies yourself.
      npm WARN ims-ember@1.0.0 No description
      npm WARN ims-ember@1.0.0 No repository field.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

      updated 2 packages and audited 2375 packages in 14.249s
      
      18 packages are looking for funding
        run \`npm fund\` for details
      
      found 348 vulnerabilities (17 low, 1 moderate, 330 high)
        run \`npm audit fix\` to fix them, or \`npm audit\` for details
      
      webpack is watching the files…
      
      (node:14388) \[DEP\_WEBPACK\_WATCH\_WITHOUT\_CALLBACK\] DeprecationWarning: A 'callback' argument need to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.
      (Use \`node --trace-deprecation ...\` to show where the warning was created)
      assets by chunk 1.37 MiB (auxiliary name: app)
        assets by path \*.png 4.17 KiB 5 assets
        assets by path \*.svg 540 KiB 2 assets
        assets by path \*.eot 182 KiB 2 assets
        assets by path \*.ttf 206 KiB 2 assets
        assets by path \*.woff 119 KiB 2 assets
        assets by path \*.woff2 93 KiB 2 assets
        asset login-bg.jpg 248 KiB \[compared for emit\] (auxiliary name: app)
        asset loading.gif 8.28 KiB \[compared f
      
      J Offline
      J Offline
      jkirkerx
      wrote on last edited by
      #2

      I suspect your global cache of NPM modules is on your old machine, and didn't copy over to your new machine. Rebuilding this is tough to do and requires reading up. There is no exact fix. Same thing happen to me, and I had to rebuild my package.json and global cache.

      If it ain't broke don't fix it Discover my world at jkirkerx.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups