Skip to content

Issue while doing npm install on macOS High Sierra Version 10.13.4 #21123

Closed
@Mazhar7860

Description

@Mazhar7860

Version: v9.6.1
Platform: Darwin C02W35ZLHTD6 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar 5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64

Hi Team,

I am using node v9.6.1. When i ran npm install, i am getting the below error, even i tried uninstall, reinstall, clearing cache still no luck, hence requesting your kind support for the same.

17 silly fetchPackageMetaData error for @sap/sbf@^1.5.0 Unexpected token < in JSON at position 0 while parsing near '
17 silly fetchPackageMetaData <title>...'
18 silly saveTree [email protected]
19 verbose stack SyntaxError: Unexpected token < in JSON at position 0 while parsing near '
19 verbose stack <title>...'
19 verbose stack at JSON.parse ()
19 verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/node_modules/json-parse-better-errors/index.js:7:17)
19 verbose stack at consumeBody.call.then.buffer (/usr/local/lib/node_modules/npm/node_modules/pacote/node_modules/make-fetch-happen/node_modules/node-fetch-npm/src/body.js:96:50)
19 verbose stack at

19 verbose stack at process._tickCallback (internal/process/next_tick.js:160:7)
20 verbose cwd /Users/i325519/bp-reuse-services/broker
21 verbose Darwin 17.5.0
22 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "--production"
23 verbose node v9.6.1
24 verbose npm v5.6.0
25 error Unexpected token < in JSON at position 0 while parsing near '
25 error <title>...'
26 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    wrong repoIssues that should be opened in another repository.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions