nx icon indicating copy to clipboard operation
nx copied to clipboard

@parcel/watcher Issue on Nx v13

Open roopeshchinnakampalli opened this issue 2 years ago • 0 comments

Current Behavior

We migrated from Nx v12 to v13. Migration is successful, but when we do npm i, we're getting an error with (@parcel/watcher) -

C:\v13>npm i --legacy-peer-deps npm WARN deprecated [email protected]: The package has been renamed to open npm ERR! code 1 npm ERR! path C:\v13\node_modules@parcel\watcher npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using [email protected] npm ERR! gyp info using [email protected] | win32 | x64 npm ERR! gyp info find Python using Python version 3.11.3 found at "C:\Python311\python.exe" npm ERR! gyp http GET https://nodejs.org/download/release/v16.20.0/node-v16.20.0-headers.tar.gz npm ERR! gyp WARN install got an error, rolling back install npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v16.20.0/node-v16.20.0-headers.tar.gz failed, reason: self signed certificate in certificate chain npm ERR! gyp ERR! stack at ClientRequest. (C:\Users\WB527065\Downloads\Apps\v13\node_modules\minipass-fetch\lib\index.js:110:14) npm ERR! gyp ERR! stack at ClientRequest.emit (node:events:513:28) npm ERR! gyp ERR! stack at TLSSocket.socketErrorListener (node:_http_client:494:9) npm ERR! gyp ERR! stack at TLSSocket.emit (node:events:525:35) npm ERR! gyp ERR! stack at emitErrorNT (node:internal/streams/destroy:157:8) npm ERR! gyp ERR! stack at emitErrorCloseNT (node:internal/streams/destroy:122:3) npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:83:21) npm ERR! gyp ERR! System Windows_NT 10.0.22621 npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\WB527065\Downloads\Apps\v13\node_modules\node-gyp\bin\node-gyp.js" "rebuild" npm ERR! gyp ERR! cwd C:\Users\WB527065\Downloads\Apps\v13\node_modules@parcel\watcher npm ERR! gyp ERR! node -v v16.20.0 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok

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

Expected Behavior

Should be able to install successfully.

GitHub Repo

No response

Steps to Reproduce

  1. Just upgrade to from Nx v12 to Nx v13 and do npm i.

Nx Report

@nrwl/nx-plugin : Not Found
   @nrwl/react : Not Found
   @nrwl/react-native : Not Found
   @nrwl/schematics : Not Found
   @nrwl/storybook : 13.10.6
   @nrwl/angular: 13.10.6
   @nrwl/web : Not Found
   @nrwl/workspace : 13.10.6
   typescript : 4.6.4
   rxjs : 7.4.0
   ---------------------------------------
   Community plugins:
         ngx-bootstrap: 8.0.0
         @storybook/angular: 6.3.13

Failure Logs

No response

Operating System

  • [ ] macOS
  • [ ] Linux
  • [X] Windows
  • [ ] Other (Please specify)

Additional Information

Node v16.5.1

roopeshchinnakampalli avatar Jun 02 '23 22:06 roopeshchinnakampalli