0

我已经克隆了我应该执行的 VegaEmbed 存储yarn,然后yarn build(两者都成功)但yarn start失败并显示以下输出:

yarn start
yarn run v1.22.10
$ yarn build && concurrently --kill-others -n Server,Rollup 'yarn serve' 'rollup -c -w'
$ yarn clean && yarn build:style
$ del-cli build build-es5 src/style.ts
$ ./build-style.sh
$ rollup -c

src/embed.ts → build/vega-embed.module.js...
Created bundle vega-embed.module.js: 49.93 kB → 13.41 kB (gzip)
created build/vega-embed.module.js in 4.1s

src/index.ts → build-es5/vega-embed.js, build-es5/vega-embed.min.js...
Created bundle vega-embed.js: 221.32 kB → 52.45 kB (gzip)
Created bundle vega-embed.min.js: 87.16 kB → 26.64 kB (gzip)
(!) `this` has been rewritten to `undefined`
https://rollupjs.org/guide/en/#error-this-is-undefined
node_modules\fast-json-patch\module\helpers.mjs
4:  * MIT license
5:  */
6: var __extends = (this && this.__extends) || (function () {
                    ^
7:     var extendStatics = function (d, b) {
8:         extendStatics = Object.setPrototypeOf ||
...and 1 other occurrence
(!) Circular dependencies
node_modules\semver\classes\comparator.js -> node_modules\semver\classes\range.js -> node_modules\semver\classes\comparator.js
node_modules\semver\classes\comparator.js -> node_modules\semver\classes\range.js -> C:\Users\me\Dropbox\Programming\VegaEmbed\node_modules\semver\classes\comparator.js?commonjs-proxy -> node_modules\semver\classes\comparator.js
created build-es5/vega-embed.js, build-es5/vega-embed.min.js in 5.2s

src/index.ts → build/vega-embed.js, build/vega-embed.min.js...
Created bundle vega-embed.js: 163.88 kB → 41.65 kB (gzip)
Created bundle vega-embed.min.js: 66.02 kB → 22.05 kB (gzip)
(!) `this` has been rewritten to `undefined`
https://rollupjs.org/guide/en/#error-this-is-undefined
node_modules\fast-json-patch\module\helpers.mjs
4:  * MIT license
5:  */
6: var __extends = (this && this.__extends) || (function () {
                    ^
7:     var extendStatics = function (d, b) {
8:         extendStatics = Object.setPrototypeOf ||
...and 1 other occurrence
(!) Circular dependencies
node_modules\semver\classes\comparator.js -> node_modules\semver\classes\range.js -> node_modules\semver\classes\comparator.js
node_modules\semver\classes\comparator.js -> node_modules\semver\classes\range.js -> C:\Users\me\VegaEmbed\node_modules\semver\classes\comparator.js?commonjs-proxy -> node_modules\semver\classes\comparator.js
created build/vega-embed.js, build/vega-embed.min.js in 3.5s
[Server] ''yarn' is not recognized as an internal or external command,
[Server] operable program or batch file.
[Rollup] 'serve'' is not recognized as an internal or external command,
[Rollup] operable program or batch file.
[2] ''rollup' is not recognized as an internal or external command,
[2] operable program or batch file.
[Server] 'yarn exited with code 1
--> Sending SIGTERM to other processes..
[2] 'rollup exited with code 1
--> Sending SIGTERM to other processes..
[Rollup] serve' exited with code 1
error Command failed with exit code 1.

我需要做什么来解决这个问题?

4

0 回答 0