incubator-weex-cli icon indicating copy to clipboard operation
incubator-weex-cli copied to clipboard

in @weex/plugins/debug-server run npm i got error

Open cnryb opened this issue 6 years ago • 3 comments

in @weex/plugins/debug-server directory, run npm i get error message :

No tests found In /xxx/weex-cli/packages/@weex/plugins/debug-server 36 files checked. testMatch: - 36 matches testPathIgnorePatterns: /node_modules/ - 36 matches testRegex: (.|/)integration.js$ - 0 matches Pattern: - 0 matches npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @weex-cli/[email protected] test: jest --config jest-integration.config.json npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @weex-cli/[email protected] test script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/cnryb/.npm/_logs/2019-11-19T07_22_16_567Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @weex-cli/[email protected] prepublish: npm run test && npm run build && npm run lint npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @weex-cli/[email protected] prepublish script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

cnryb avatar Nov 19 '19 07:11 cnryb

@cnryb why are you use this package? it's only use for some case of backend-only like node side.

erha19 avatar Nov 26 '19 01:11 erha19

I want to understand how weex debugging works. But the corresponding documentation is missing. So, I try to run the code here.

cnryb avatar Nov 26 '19 02:11 cnryb

@erha19 When I execute weex debug, it seems that this package is not used. Under what circumstances will this package be used?

cnryb avatar Dec 27 '19 11:12 cnryb