Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

window npm i weex-toolkit -g 报错 #621

@userHuang

Description

@userHuang

Your development environment

window

The key error stack message.

145 http fetch GET 304 https://registry.npmjs.org/http-cache-semantics 270ms (from cache)
146 silly fetchPackageMetaData error for http-cache-semantics@3.8.1 Unexpected end of JSON input while parsing near '...antics-3.6.1.tgz"}},"'
147 http fetch GET 304 https://registry.npmjs.org/keyv 275ms (from cache)
148 silly pacote version manifest for keyv@3.0.0 fetched in 281ms
149 silly resolveWithNewModule keyv@3.0.0 checking installable status
150 http fetch GET 304 https://registry.npmjs.org/normalize-url 286ms (from cache)
151 silly pacote version manifest for normalize-url@2.0.1 fetched in 292ms
152 silly resolveWithNewModule normalize-url@2.0.1 checking installable status
153 http fetch GET 304 https://registry.npmjs.org/responselike 850ms (from cache)
154 silly pacote version manifest for responselike@1.0.2 fetched in 854ms
155 silly resolveWithNewModule responselike@1.0.2 checking installable status
156 timing stage:rollbackFailedOptional Completed in 0ms
157 timing stage:runTopLevelLifecycles Completed in 12817ms
158 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...antics-3.6.1.tgz"}},"'
158 verbose stack at JSON.parse ()
158 verbose stack at parseJson (C:\Program Files\nodejs\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
158 verbose stack at consumeBody.call.then.buffer (C:\Program Files\nodejs\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50)
158 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7)
159 verbose cwd C:\Users\L490-285
160 verbose Windows_NT 10.0.17763
161 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "weex-toolkit" "-g"
162 verbose node v10.16.3
163 verbose npm v6.9.0
164 error Unexpected end of JSON input while parsing near '...antics-3.6.1.tgz"}},"'
165 verbose exit [ 1, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions