Skip to content

installation errors with vite #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
vedant-shah opened this issue Dec 9, 2024 · 1 comment
Open

installation errors with vite #27

vedant-shah opened this issue Dec 9, 2024 · 1 comment

Comments

@vedant-shah
Copy link

npm install react-awesome-loaders
npm warn deprecated @babel/[email protected]: 👋 We've deprecated any official yearly presets in 6.x in favor or babel-preset-env. For 7.x it would be @babel/preset-env.
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/config-array instead
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
npm warn deprecated [email protected]: This module is no longer supported.
npm warn deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm warn deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
npm warn deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: this library is no longer supported
npm warn deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm warn deprecated [email protected]: You or someone you depend on is using Q, the JavaScript Promise library that gave JavaScript developers strong feelings about promises. They can almost certainly migrate to the native JavaScript promise now. Thank you literally everyone for joining me in this bet against the odds. Be excellent to each other.
npm warn deprecated
npm warn deprecated (For a CapTP with native promises, see @endo/eventual-send and @endo/captp)
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm warn deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
npm warn deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm warn deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm warn deprecated @hapi/[email protected]: Moved to 'npm install @sideway/address'
npm warn deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm warn deprecated @humanwhocodes/[email protected]: Use @eslint/object-schema instead
npm warn deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm warn deprecated [email protected]: This package is no longer supported.
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]: 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]: 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 request/request#3142
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained
npm warn deprecated @hapi/[email protected]: This version has been deprecated and is no longer supported or maintained
npm warn deprecated @hapi/[email protected]: Switch to 'npm install joi'
npm warn deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm warn deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm warn deprecated [email protected]: Node Sass is no longer supported. Please use sass or sass-embedded instead.
npm warn deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
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 cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\@testing-library\react\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules@testing-library\react\node_modules@testing-library\dom'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\@testing-library\react\node_modules\@testing-library\dom'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-leak-detector\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-leak-detector\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-leak-detector\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules\@babel\helper-optimise-call-expression',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules@babel\helper-optimise-call-expression\node_modules@babel\types\lib\asserts'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules\@babel\helper-optimise-call-expression\node_modules\@babel\types\lib\asserts'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-config\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-config\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-config\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-runner',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-runner\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\jest-runner\node_modules'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules@babel\helper-annotate-as-pure\node_modules@babel'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules\@babel\helper-annotate-as-pure\node_modules\@babel'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules@babel\helper-module-imports\node_modules@babel'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules\@babel\helper-module-imports\node_modules\@babel'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules\@babel\helper-annotate-as-pure',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules@babel\helper-annotate-as-pure'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\react-awesome-loaders\node_modules\@babel\helper-annotate-as-pure'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-sass
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node scripts/build.js
npm error Building: C:\Program Files\nodejs\node.exe C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm error gyp info it worked if it ends with ok
npm error gyp verb cli [
npm error gyp verb cli 'C:\Program Files\nodejs\node.exe',
npm error gyp verb cli 'C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\bin\node-gyp.js',
npm error gyp verb cli 'rebuild',
npm error gyp verb cli '--verbose',
npm error gyp verb cli '--libsass_ext=',
npm error gyp verb cli '--libsass_cflags=',
npm error gyp verb cli '--libsass_ldflags=',
npm error gyp verb cli '--libsass_library='
npm error gyp verb cli ]
npm error gyp info using [email protected]
npm error gyp info using [email protected] | win32 | x64
npm error gyp verb command rebuild []
npm error gyp verb command clean []
npm error gyp verb clean removing "build" directory
npm error gyp verb command configure []
npm error gyp verb check python checking for Python executable "python2" in the PATH
npm error gyp verb which failed Error: not found: python2
npm error gyp verb which failed at getNotFoundError (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:197:21)
npm error gyp verb which failed python2 Error: not found: python2
npm error gyp verb which failed at getNotFoundError (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:197:21) {
npm error gyp verb which failed code: 'ENOENT'
npm error gyp verb which failed }
npm error gyp verb check python checking for Python executable "python" in the PATH
npm error gyp verb which failed Error: not found: python
npm error gyp verb which failed at getNotFoundError (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:197:21)
npm error gyp verb which failed python Error: not found: python
npm error gyp verb which failed at getNotFoundError (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:13:12)
npm error gyp verb which failed at F (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:68:19)
npm error gyp verb which failed at E (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:80:29)
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\node_modules\which\which.js:89:16
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\index.js:42:5
npm error gyp verb which failed at C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\isexe\windows.js:36:5
npm error gyp verb which failed at FSReqCallback.oncomplete (node:fs:197:21) {
npm error gyp verb which failed code: 'ENOENT'
npm error gyp verb which failed }
npm error gyp verb could not find "python". checking python launcher
npm error gyp verb could not find "python". guessing location
npm error gyp verb ensuring that file exists: C:\Python27\python.exe
npm error gyp ERR! configure error
npm error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm error gyp ERR! stack at PythonFinder.failNoPython (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\lib\configure.js:484:19)
npm error gyp ERR! stack at PythonFinder. (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\lib\configure.js:509:16)
npm error gyp ERR! stack at callback (C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\graceful-fs\polyfills.js:306:20)
npm error gyp ERR! stack at FSReqCallback.oncomplete (node:fs:197:21)
npm error gyp ERR! System Windows_NT 10.0.22631
npm error gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm error gyp ERR! cwd C:\Users\Vedant Shah\Desktop\dreambooth-1\node_modules\node-sass
npm error gyp ERR! node -v v20.17.0
npm error gyp ERR! node-gyp -v v3.8.0
npm error gyp ERR! not ok
npm error Build failed with error code: 1
npm error A complete log of this run can be found in: C:\Users\Vedant Shah\AppData\Local\npm-cache_logs\2024-12-09T05_19_30_966Z-debug-0.log

@VinayakGaikwad101
Copy link

Same issue, any fix? @ashutosh1919 @vedant-shah @KnechtNoobrecht @satyampandeygit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants