ElectronCode icon indicating copy to clipboard operation
ElectronCode copied to clipboard

Really need to up date your dependencies

Open code-monki opened this issue 1 year ago • 0 comments

To wit:

npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
npm WARN deprecated [email protected]: Please use @electron/get moving forward.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: This is probably built in to whatever tool you're using. If you still need it... idk
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /Volumes/MainStorage/Continuing_Education/Javascript/Electron-for-Desktop-Apps/ElectronCode/boilerplates/tasky/node_modules/electron
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! (node:27887) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
npm ERR! (Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! /Volumes/MainStorage/Continuing_Education/Javascript/Electron-for-Desktop-Apps/ElectronCode/boilerplates/tasky/node_modules/electron/install.js:48
npm ERR!   throw err
npm ERR!   ^
npm ERR! 
npm ERR! Error: Failed to find Electron v1.6.18 for darwin-arm64 at https://github.com/electron/electron/releases/download/v1.6.18/electron-v1.6.18-darwin-arm64.zip
npm ERR!     at Request.<anonymous> (/Volumes/MainStorage/Continuing_Education/Javascript/Electron-for-Desktop-Apps/ElectronCode/boilerplates/tasky/node_modules/nugget/index.js:197:61)
npm ERR!     at Request.emit (node:events:519:28)
npm ERR!     at Request.onRequestResponse (/Volumes/MainStorage/Continuing_Education/Javascript/Electron-for-Desktop-Apps/ElectronCode/boilerplates/tasky/node_modules/request/request.js:1059:10)
npm ERR!     at ClientRequest.emit (node:events:519:28)
npm ERR!     at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:690:27)
npm ERR!     at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
npm ERR!     at TLSSocket.socketOnData (node:_http_client:532:22)
npm ERR!     at TLSSocket.emit (node:events:519:28)
npm ERR!     at addChunk (node:internal/streams/readable:559:12)
npm ERR!     at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
npm ERR! 
npm ERR! Node.js v21.6.1

Corrected:

{
  "name": "timer",
  "version": "1.0.0",
  "description": "Electron timer app",
  "main": "main.js",
  "scripts": {
    "start": "webpack-dev-server",
    "electron": "electron ."
  },
  "author": "Rallycoding",
  "devDependencies": {
    "electron": "~1.6.2"
  },
  "dependencies": {
    "babel-core": "^6.26.3",
    "babel-loader": "^9.1.3",
    "babel-preset-es2015": "^6.24.1",
    "babel-preset-react": "^6.24.1",
    "babel-preset-stage-1": "^6.24.1",
    "electron-localshortcut": "^3.2.1",
    "moment": "^2.30.1",
    "moment-duration-format": "^2.3.2",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-router": "^6.22.3",
    "react-router-dom": "^6.22.3",
    "webpack": "^5.90.3",
    "webpack-dev-server": "^5.0.3"
  }
}

code-monki avatar Mar 13 '24 20:03 code-monki