-
I am trying to build marp-vscode on my local PC. However, failed. git clone https://github.com/marp-team/marp-vscode
cd marp-vscode
npm install
vsce publish But I got the following error: Executing prepublish script 'npm run vscode:prepublish'...
> marp-vscode@2.3.0 vscode:prepublish
> run-s preversion build
> marp-vscode@2.3.0 preversion
> run-p check:* lint:* test:*:coverage
> marp-vscode@2.3.0 check:audit
> npm audit
> marp-vscode@2.3.0 lint:js
> eslint --ext .js,.ts --report-unused-disable-directives --cache .
> marp-vscode@2.3.0 check:format
> npm run -s format -- -c
> marp-vscode@2.3.0 test:unit:coverage
> jest --coverage
> marp-vscode@2.3.0 check:ts
> tsc --noEmit
> marp-vscode@2.3.0 lint:css
> stylelint "./*.{css,scss}"
RUNS src/extension.test.ts
RUNS src/commands/export.test.ts
RUNS src/language/completions.test.ts
RUNS src/extension.test.ts
RUNS src/commands/export.test.ts
RUNS src/language/completions.test.ts
RUNS src/language/parser.test.ts
RUNS src/diagnostics/define-math-global-directive.test.ts
RUNS src/diagnostics/deprecated-dollar-prefix.test.ts
RUNS src/diagnostics/deprecated-color-setting-shorthand.test.ts
RUNS src/preview.test.ts
RUNS src/option.test.ts
RUNS src/marp-cli.test.ts
RUNS src/language/index.test.ts
RUNS src/extension.test.ts
RUNS src/commands/export.test.ts
RUNS src/language/completions.test.ts
RUNS src/language/parser.test.ts
RUNS src/diagnostics/define-math-global-directive.test.ts
RUNS src/diagnostics/deprecated-dollar-prefix.test.ts
RUNS src/diagnostics/deprecated-color-setting-shorthand.test.ts
RUNS src/preview.test.ts
RUNS src/option.test.ts
RUNS src/marp-cli.test.ts
RUNS src/language/index.test.ts
RUNS src/commands/toggle-marp-feature.test.ts
RUNS src/diagnostics/index.test.ts
RUNS src/diagnostics/unknown-size.test.ts
RUNS src/diagnostics/unknown-theme.test.ts
Test Suites: 0 of 23 total
Tests: 0 total
Snapshots: 0 total
[warn] CHANGELOG.md
ERROR: "check:audit" exited with 1.
ERROR: "preversion" exited with 1.
ERROR npm failed with exit code 1 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Recommend to use VS Code debugger for build and development, but you can use |
Beta Was this translation helpful? Give feedback.
-
I have made some changes for marp-vscode. I just need to build the VSIX for self use. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reminder. My problem has been solved by changing: |
Beta Was this translation helpful? Give feedback.
vsce publish
is for updating our extension on Visual Studio marketplace. Running publish command is allowed only to a project maintainer who have privileges to bump version and release.Recommend to use VS Code debugger for build and development, but you can use
npm run build
if you want just to build (transpile TS to JS).