LalanaChami / Pharmacy-Mangment-System

👨‍💻 :hospital: MEAN stack Pharmacy Management system.
MIT License
477 stars 214 forks source link

Unable to run the frontend ? I never seen why python error shows in JS #245

Open RahulrajDeveloper opened 1 year ago

RahulrajDeveloper commented 1 year ago

npm WARN using --force Recommended protections disabled. npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: @angular-devkit/build-angular@15.1.3 npm WARN Found: protractor@5.4.4 npm WARN node_modules/protractor npm WARN dev protractor@"~5.4.0" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peerOptional protractor@"^7.0.0" from @angular-devkit/build-angular@15.1.3 npm WARN node_modules/@angular-devkit/build-angular npm WARN dev @angular-devkit/build-angular@"^15.1.0" from the root project npm WARN npm WARN Conflicting peer dependency: protractor@7.0.0 npm WARN node_modules/protractor npm WARN peerOptional protractor@"^7.0.0" from @angular-devkit/build-angular@15.1.3 npm WARN node_modules/@angular-devkit/build-angular npm WARN dev @angular-devkit/build-angular@"^15.1.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: angular-bootstrap-md@14.0.0 npm WARN Found: @angular/animations@15.1.2 npm WARN node_modules/@angular/animations npm WARN peerOptional @angular/animations@"15.1.2" from @angular/platform-browser@15.1.2 npm WARN node_modules/@angular/platform-browser npm WARN peer @angular/platform-browser@"15.1.2" from @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN 4 more (@angular/platform-browser-dynamic, @angular/router, ...) npm WARN 2 more (the root project, @angular/material) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/animations@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/animations@14.2.12 npm WARN node_modules/@angular/animations npm WARN peer @angular/animations@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: angular-bootstrap-md@14.0.0 npm WARN Found: @angular/cdk@15.1.2 npm WARN node_modules/@angular/cdk npm WARN @angular/cdk@"^15.1.2" from the root project npm WARN 2 more (@angular/material, ng2-charts) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/cdk@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/cdk@14.2.7 npm WARN node_modules/@angular/cdk npm WARN peer @angular/cdk@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: angular-bootstrap-md@14.0.0 npm WARN Found: @angular/common@15.1.2 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"15.1.2" from @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN @angular/forms@"^15.1.0" from the root project npm WARN 1 more (@angular/material) npm WARN 8 more (@angular/platform-browser, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/common@14.2.12 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: angular-bootstrap-md@14.0.0 npm WARN Found: @angular/core@15.1.2 npm WARN node_modules/@angular/core npm WARN peer @angular/core@"15.1.2" from @angular/common@15.1.2 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"15.1.2" from @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN 8 more (@angular/platform-browser, ...) npm WARN 11 more (@angular/animations, @angular/compiler, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/core@14.2.12 npm WARN node_modules/@angular/core npm WARN peer @angular/core@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: angular-bootstrap-md@14.0.0 npm WARN Found: @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN @angular/forms@"^15.1.0" from the root project npm WARN 1 more (@angular/material) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/forms@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/forms@14.2.12 npm WARN node_modules/@angular/forms npm WARN peer @angular/forms@"^14.0.0" from angular-bootstrap-md@14.0.0 npm WARN node_modules/angular-bootstrap-md npm WARN angular-bootstrap-md@"^14.0.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: angular-google-charts@2.2.3 npm WARN Found: @angular/common@15.1.2 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"15.1.2" from @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN @angular/forms@"^15.1.0" from the root project npm WARN 1 more (@angular/material) npm WARN 8 more (@angular/platform-browser, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@">=6.0.0 <=14.x.x" from angular-google-charts@2.2.3 npm WARN node_modules/angular-google-charts npm WARN angular-google-charts@"^2.2.3" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/common@14.2.12 npm WARN node_modules/@angular/common npm WARN peer @angular/common@">=6.0.0 <=14.x.x" from angular-google-charts@2.2.3 npm WARN node_modules/angular-google-charts npm WARN angular-google-charts@"^2.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: angular-google-charts@2.2.3 npm WARN Found: @angular/core@15.1.2 npm WARN node_modules/@angular/core npm WARN peer @angular/core@"15.1.2" from @angular/common@15.1.2 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"15.1.2" from @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN 8 more (@angular/platform-browser, ...) npm WARN 11 more (@angular/animations, @angular/compiler, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@">=6.0.0 <=14.x.x" from angular-google-charts@2.2.3 npm WARN node_modules/angular-google-charts npm WARN angular-google-charts@"^2.2.3" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/core@14.2.12 npm WARN node_modules/@angular/core npm WARN peer @angular/core@">=6.0.0 <=14.x.x" from angular-google-charts@2.2.3 npm WARN node_modules/angular-google-charts npm WARN angular-google-charts@"^2.2.3" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: ng2-carouselamos@4.1.0 npm WARN Found: @angular/common@15.1.2 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"15.1.2" from @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN @angular/forms@"^15.1.0" from the root project npm WARN 1 more (@angular/material) npm WARN 8 more (@angular/platform-browser, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/common@"^8.2.9" from ng2-carouselamos@4.1.0 npm WARN node_modules/ng2-carouselamos npm WARN ng2-carouselamos@"^4.1.0" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/common@8.2.14 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"^8.2.9" from ng2-carouselamos@4.1.0 npm WARN node_modules/ng2-carouselamos npm WARN ng2-carouselamos@"^4.1.0" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: ng2-carouselamos@4.1.0 npm WARN Found: @angular/core@15.1.2 npm WARN node_modules/@angular/core npm WARN peer @angular/core@"15.1.2" from @angular/common@15.1.2 npm WARN node_modules/@angular/common npm WARN peer @angular/common@"15.1.2" from @angular/forms@15.1.2 npm WARN node_modules/@angular/forms npm WARN 8 more (@angular/platform-browser, ...) npm WARN 11 more (@angular/animations, @angular/compiler, ...) npm WARN npm WARN Could not resolve dependency: npm WARN peer @angular/core@"^8.2.9" from ng2-carouselamos@4.1.0 npm WARN node_modules/ng2-carouselamos npm WARN ng2-carouselamos@"^4.1.0" from the root project npm WARN npm WARN Conflicting peer dependency: @angular/core@8.2.14 npm WARN node_modules/@angular/core npm WARN peer @angular/core@"^8.2.9" from ng2-carouselamos@4.1.0 npm WARN node_modules/ng2-carouselamos npm WARN ng2-carouselamos@"^4.1.0" from the root project npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN deprecated multer@1.4.4: Multer 1.x is affected by CVE-2022-24434. This is fixed in v1.4.4-lts.1 which drops support for versions of Node.js before 6. Please upgrade to at least Node.js 6 and version 1.4.4-lts.1 of Multer. If you need support for older versions of Node.js, we are open to accepting patches that would fix the CVE on the main 1.x release line, whilst maintaining compatibility with Node.js 0.10. npm WARN deprecated uuid@3.4.0: 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated protractor@5.4.4: We have news to share - Protractor is deprecated and will reach end-of-life by Summer 2023. To learn more and find out about other options please refer to this post on the Angular blog. Thank you for using and contributing to Protractor. https://goo.gle/state-of-e2e-in-angular npm WARN cleanup Failed to remove some directories [ npm WARN cleanup [ npm WARN cleanup 'C:\Users\Rahul\Desktop\TRY\frontend\node_modules\codelyzer', npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\Rahul\Desktop\TRY\frontend\node_modules\codelyzer\node_modules\@angular\core\schematics\migrations\static-queries\strategies'] { npm WARN cleanup errno: -4048, npm WARN cleanup code: 'EPERM', npm WARN cleanup syscall: 'rmdir', npm WARN cleanup path: 'C:\Users\Rahul\Desktop\TRY\frontend\node_modules\codelyzer\node_modules\@angular\core\schematics\migrations\static-queries\strategies' npm WARN cleanup } npm WARN cleanup ] npm WARN cleanup ] npm ERR! code 1 npm ERR! path C:\Users\Rahul\Desktop\TRY\frontend\node_modules\gl npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild npm ERR! prebuild-install warn install No prebuilt binaries found (target=18.13.0 runtime=node arch=x64 libc= platform=win32) npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@9.3.1 npm ERR! gyp info using node@18.13.0 | win32 | x64 npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON npm ERR! gyp ERR! find Python checking if "python3" can be used npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if "python" can be used npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python39\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python39\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python38\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python38\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python36\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python36\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Users\Rahul\AppData\Local\Programs\Python\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Users\Rahul\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe npm ERR! gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python 3 npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python ** npm ERR! gyp ERR! find Python You need to install the latest version of Python. npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not, npm ERR! gyp ERR! find Python you can try one of the following options: npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm) npm ERR! gyp ERR! find Python - Set the environment variable PYTHON npm ERR! gyp ERR! find Python - Set the npm configuration variable python: npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe" npm ERR! gyp ERR! find Python For more information consult the documentation at: npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation npm ERR! gyp ERR! find Python ** npm ERR! gyp ERR! find Python npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Could not find any Python installation to use npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Users\Rahul\Desktop\TRY\frontend\node_modules\node-gyp\lib\find-python.js:330:47) npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Users\Rahul\Desktop\TRY\frontend\node_modules\node-gyp\lib\find-python.js:159:21) npm ERR! gyp ERR! stack at PythonFinder. (C:\Users\Rahul\Desktop\TRY\frontend\node_modules\node-gyp\lib\find-python.js:228:18) npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\Rahul\Desktop\TRY\frontend\node_modules\node-gyp\lib\find-python.js:294:16) npm ERR! gyp ERR! stack at exithandler (node:child_process:427:5) npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:439:5) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:289:12) npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:476:16) npm ERR! gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21) npm ERR! gyp ERR! System Windows_NT 10.0.22621 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\Rahul\Desktop\TRY\frontend\node_modules\node-gyp\bin\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd C:\Users\Rahul\Desktop\TRY\frontend\node_modules\gl npm ERR! gyp ERR! node -v v18.13.0 npm ERR! gyp ERR! node-gyp -v v9.3.1 npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Rahul\AppData\Local\npm-cache_logs\2023-02-01T07_47_34_844Z-debug-0.log

Nikita1782 commented 1 year ago

any update on how to solve this?

kasifraza commented 8 months ago

any solution