Skip to content
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

Rush update fails using Node v16 on Windows 11 #20681

Closed
bbrusniak opened this issue Mar 6, 2022 · 5 comments
Closed

Rush update fails using Node v16 on Windows 11 #20681

bbrusniak opened this issue Mar 6, 2022 · 5 comments
Assignees
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Impact++ This pull request was submitted by a member of the Impact++ team. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@bbrusniak
Copy link
Contributor

The following error occurs when running rush update using Node v16.

Here are the versions I was using when the command failed:
Node - 16.14.0
NPM - 8.3.1
Python - 3.7.3
Windows 11 - Version: 21H2

Here is the output of running rush update:

node_modules/.pnpm/[email protected]/node_modules/highlight.js: Running postinstall script, done in 887ms
node_modules/.pnpm/[email protected]/node_modules/core-js: Running postinstall script, done in 919ms
node_modules/.pnpm/[email protected]/node_modules/core-js: Running postinstall script, done in 940ms
node_modules/.pnpm/[email protected]/node_modules/keytar: Running install script, done in 662ms
node_modules/.pnpm/@Azure[email protected]/node_modules/@azure/msal-node-extensions: Running install node_modules/.pnpm/@Azure[email protected]/node_modules/@azure/msal-node-extensions: Running install script, done in 8.9s
node_modules/.pnpm/[email protected]/node_modules/puppeteer: Running install script, done in 20.5s
 ENOENT  ENOENT: no such file or directory, realpath 'C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\node_modules.pnpm\local+C++Users+Benjamin+azure-impact-bash+azure-sdk-for-js+common+temp+projects+arm-machinelearningexperimentation.tgz\node_modules@rush-temp\arm-machinelearningexperimentation'

The command failed:
C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\pnpm-local\node_modules.bin\pnpm install --store C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\pnpm-store --no-prefer-frozen-lockfile --strict-peer-dependencies
ERROR: Error: The command failed with exit code 1

Giving up after 3 attempts

Deleting the "pnpm-store" folder

ERROR: The command failed with exit code 1

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Mar 6, 2022
@azure-sdk
Copy link
Collaborator

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.44006085,Service Bus:0.055425264,Azure.Identity:0.05532772'

@maorleger
Copy link
Member

@sadasant / @witemple-msft at first glance this looks like its coming from msal-node-extensions so I figured one of you might be able to help but feel free to reassign as appropriate

@maorleger maorleger added Azure.Identity Client This issue points to a problem in the data-plane of the library. labels Mar 7, 2022
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Mar 7, 2022
@jeremymeng jeremymeng added the Impact++ This pull request was submitted by a member of the Impact++ team. label Mar 8, 2022
@ghost ghost added the needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team label Mar 8, 2022
@jeremymeng
Copy link
Member

keytar installed fine. it's an arm package.

 ENOENT  ENOENT: no such file or directory, realpath 'C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\node_modules.pnpm\local+C++Users+Benjamin+azure-impact-bash+azure-sdk-for-js+common+temp+projects+arm-machinelearningexperimentation.tgz\node_modules@rush-temp\arm-machinelearningexperimentation'

@jeremymeng jeremymeng self-assigned this Mar 9, 2022
@bbrusniak
Copy link
Contributor Author

@jeremymeng suggested cloning the folder directly into my C Drive. I did and it fixed the issue. Likely caused by file path being too long on Windows System

@sadasant
Copy link
Contributor

sadasant commented Mar 9, 2022

ooh wow! thanks!

azure-sdk pushed a commit to azure-sdk/azure-sdk-for-js that referenced this issue Nov 9, 2022
Adding resourceconnector - Appliance GA API version (Azure#20681)

* Adding resourceconnector - appliance GA API verson

* Update swagger PR to add ArtifactURL and Another SSHKey type - ScopesAccessKey

* Commiting previous API Version 2022-04-15-preview

* Commiting latest API Version 2022-10-27

* Update to v3 types:

* Adding words to custom-words.txt

* run prettier check

* Use v3 for appliance resource type too

* resolve merge conflicts in custom words.txt

* add in readmes

* Add blockchain to latest profile

* Add additional types

* track2 modify eventhub readme.go.md (Azure#15338)

* track2 modify operationalinsights readme.go.md (Azure#15354)

* track2 modify security readme.go.md (Azure#15357)

* track2 modify eventgrid readme.go.md (Azure#15358)

* [Hub Generated] Public private branch 'dev-azure-kusto-Microsoft.Kusto-2021-08-27' (Azure#15905)

* Adds base for updating Microsoft.Kusto from version stable/2021-01-01 to version 2021-08-27

* Updates readme

* Updates API version in new specs and examples

* Swagger changes

* it1

* hh

* it2

* it3

* it5

* it6

* it7

* readme

* it10

* it11

* it11

* it 12

* it 13

* prettier

* python

* allowedIpRangeList - remove default

* bassel changes

* checkNameAvailability

* fix lint

* checkName

* fix

* managedPrivate check name

* prettier

* Update readme.python.md

* add attached enum

* Dor comments

* fix description

* readOnly

Co-authored-by: msyyc <[email protected]>

* update the format to int64 for creationtimestamp and expirationtimestamp

* Updating Delete example to include location header for 202 response

* fix header in delete example

Co-authored-by: Mark Cowlishaw <[email protected]>
Co-authored-by: JiahuiPeng <[email protected]>
Co-authored-by: hila levi <[email protected]>
Co-authored-by: msyyc <[email protected]>
Co-authored-by: Aditi Malladi <[email protected]>
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Azure.Identity Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. Impact++ This pull request was submitted by a member of the Impact++ team. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

7 participants