|
|
npm install is done.
[upload]$ npm run build
> fileuploadscripts@ build /mnt/data/shnoulle/nginx/www/master/assets/packages/questions/upload
> yarn dev && yarn release
yarn run v1.21.1
warning package.json: License should be a valid SPDX license expression
$ env-cmd -e dev rollup -c
spawn rollup ENOENT
error Command failed with signal "SIGINT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! fileuploadscripts@ build: `yarn dev && yarn release`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fileuploadscripts@ build 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! /home/shnoulle/.npm/_logs/2020-03-25T09_53_00_077Z-debug.log
the debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'build' ]
2 info using npm@6.13.4
3 info using node@v12.16.1
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle fileuploadscripts@~prebuild: fileuploadscripts@
6 info lifecycle fileuploadscripts@~build: fileuploadscripts@
7 verbose lifecycle fileuploadscripts@~build: unsafe-perm in lifecycle true
8 verbose lifecycle fileuploadscripts@~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/mnt/data/shnoulle/nginx/www/master/assets/packages/questions/upload/node_modules/.bin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/shnoulle/.composer/vendor/bin:/home/shnoulle/.local/bin:/home/shnoulle/bin:/home/shnoulle/.local/bin:/home/shnoulle/bin
9 verbose lifecycle fileuploadscripts@~build: CWD: /mnt/data/shnoulle/nginx/www/master/assets/packages/questions/upload
10 silly lifecycle fileuploadscripts@~build: Args: [ '-c', 'yarn dev && yarn release' ]
11 silly lifecycle fileuploadscripts@~build: Returned: code: 1 signal: null
12 info lifecycle fileuploadscripts@~build: Failed to exec build script
13 verbose stack Error: fileuploadscripts@ build: `yarn dev && yarn release`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:311:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:311:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid fileuploadscripts@
15 verbose cwd /mnt/data/shnoulle/nginx/www/master/assets/packages/questions/upload
16 verbose Linux 5.5.9-200.fc31.x86_64
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
18 verbose node v12.16.1
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error fileuploadscripts@ build: `yarn dev && yarn release`
22 error Exit status 1
23 error Failed at the fileuploadscripts@ build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ] |
|
|
[shnoulle@poledra upload]$ yarn
yarn install v1.21.1
warning package.json: License should be a valid SPDX license expression
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
warning fileuploadscripts: License should be a valid SPDX license expression
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.59s.
[shnoulle@poledra upload]$ yarn build
yarn run v1.21.1
warning package.json: License should be a valid SPDX license expression
$ yarn dev && yarn release
warning package.json: License should be a valid SPDX license expression
$ env-cmd -e dev rollup -c
spawn rollup ENOENT
error Command failed with signal "SIGINT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Follow https://manual.limesurvey.org/VueJS#Compilation |