通过jenkins运行构建时,出现以下错误
请帮我解决下面的错误。当我在Jenkins中运行构建时,我得到一个错误:通过jenkins运行构建时,出现以下错误,jenkins,yarnpkg,package.json,Jenkins,Yarnpkg,Package.json,请帮我解决下面的错误。当我在Jenkins中运行构建时,我得到一个错误: C:\inetpub\app\projecktOne>call yarn && call yarn production yarn install v1.6.0 warning package.json: No license field $ node -e "if(process.env.npm_execpath.indexOf('yarn') === -1) throw new E
C:\inetpub\app\projecktOne>call yarn && call yarn production
yarn install v1.6.0
warning package.json: No license field
$ node -e "if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')"
warning prerender-spa-plugin-example-vue2-webpack-router@1.0.0: No license field
通过cmd安装Thread后,我收到一条消息:
C:\Users\Administrator>yarn install
yarn install v1.6.0
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
info Lockfile not saved, no dependencies.
Done in 0.05s.
C:\Users\Administrator>npm -v
5.5.1
C:\Users\Administrator>yarn -v
1.6.0`
我在根文件夹中有文件“thread.lock”和“package.json”