-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Unexpected token "." #4340
Copy link
Copy link
Closed
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release
Description
Activity
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next stepsRelease 8.xwork is associated with a specific npm 8 releasework is associated with a specific npm 8 release
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
When i run command "npm outdated -g --depth=0". It throws the following error. https://imgur.com/a/2l1ijmL. The issue was also present in v8.3.1 and v8.3.2.
It is still present in v8.4.0. I don't want to switch to LTS release. Here is the complete log https://files.fm/u/gzravnp2s.
Expected Behavior
It should show the outdated packages.
Steps To Reproduce
Environment
; copy and paste output from `npm config ls` herenpm -v: npm 8.40
node -v: Node.js: 17.4.0
OS Name: Windows 11 (Enterprise Edition)
System: Dell Optiplex 990,
npm config ls: ; "user" config from C:\Users\Bilal.npmrc
registry = "http://registry.npmjs.org/"
; node bin location = C:\Program Files\nodejs\node.exe
; cwd = C:\Users\Bilal
; HOME = C:\Users\Bilal
; Run
npm config ls -lto show all defaults.