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

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

Closed
Mazhar7860 opened this issue Jun 4, 2018 · 1 comment
Closed
Labels
wrong repo Issues that should be opened in another repository.

Comments

@Mazhar7860
Copy link

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 service_broker_oauth@1.0.0
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 ]

@mscdex
Copy link
Contributor

mscdex commented Jun 4, 2018

This issue tracker is for reporting bugs in node core and submitting feature requests for node core.

General help questions should be posted to the nodejs/help issue tracker instead.

Issues with third-party modules, npm, or other tools that use node, should be posted to the appropriate issue tracker for that project, unless it can be proven that the issue is in fact with node core and not the module/tool in question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wrong repo Issues that should be opened in another repository.
Projects
None yet
Development

No branches or pull requests

2 participants