-
Notifications
You must be signed in to change notification settings - Fork 609
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] Getting error when running command "rush update" #2151
Comments
@gauravgoyal5 Can you create a repro and share the code? Also, is this something that suddenly started to fail for you (Was it working before)? |
Correct. It started suddenly. It was working before. |
Hi, I tried to run the Powershell ISE & got detailed error : PS SPFx\Code\Production\MyTestProject> rush update �[1mRush Multi-Project Build Tool 5.33.2�[22m�[36m - https://rushjs.io�[39m Starting "rush update" �[36mIgnoring Git validation because this is not a Git working folder.�[39m Shrinkwrap file could not be found, skipping validation. Trying to acquire lock for npm-6.13.4 Symlinking "SPFx\Code\Production\MyTestProject\common\temp\npm-local" �[1mUpdating temp projects in SPFx\Code\Production\MyTestProject\common\temp\projects�[22m �[1mRunning "npm install" in SPFx\Code\Production\MyTestProject\common\temp�[22m node.exe : The system cannot find the path specified.
The command failed: Trying again (attempt #2)... The system cannot find the path specified. The command failed: Trying again (attempt #3)... The system cannot find the path specified. The command failed: Giving up after 3 attempts PS SPFx\Code\Production\MyTestProject> |
Did you recently move your |
npm-local folder is present as symlink under D:\SPFx\Code\Production\MyTestProject\common\temp. |
I notice the listed paths seem to be missing a |
Thanks for the reply. Can you please let me know in which file and path, I should add ""? |
I has a similar issue, for me it was an invalid
vs
|
What resolved it for me was to delete the |
This also happened to me and indeed it was a trailing comma in one of a The error message in very misleading though. I was getting
Rush does complain about syntax error in |
Please prefix the issue title with the project name i.e. [rush], [api-extractor] etc.
Is this a feature or a bug?
Actual behavior.
When I am running rush update, it is showing error : The system cannot find the path specified.
`The command failed:
D:\SPFx\Code\Production\MyTestProject\common\temp\npm-local\node_modules.bin\npm install --cache D:\SPFx\Code\Production\MyTestProject\common\temp\npm-cache --tmp D:\SPFx\Code\Production\MyTestProject\common\temp\npm-tmp
ERROR: Error: The command failed with exit code 1
Trying again (attempt #2)...
The system cannot find the path specified.
The command failed:
D:\SPFx\Code\Production\MyTestProject\common\temp\npm-local\node_modules.bin\npm install --cache D:\SPFx\Code\Production\MyTestProject\common\temp\npm-cache --tmp D:\SPFx\Code\Production\MyTestProject\common\temp\npm-tmp
ERROR: Error: The command failed with exit code 1
Trying again (attempt #3)...
The system cannot find the path specified.
The command failed:
D:\SPFx\Code\Production\MyTestProject\common\temp\npm-local\node_modules.bin\npm install --cache D:\SPFx\Code\Production\MyTestProject\common\temp\npm-cache --tmp D:\SPFx\Code\Production\MyTestProject\common\temp\npm-tmp
ERROR: Error: The command failed with exit code 1
Giving up after 3 attempts
ERROR: The command failed with exit code 1`
What is the expected behavior?
It should run rush update command & then after rush build
If this is a bug, please provide the tool version, Node.js version, and OS.
The text was updated successfully, but these errors were encountered: