View Issue Details

IDProjectCategoryView StatusLast Update
16038Development [All Projects] Otherpublic2020-03-25 15:47
ReporterDenisChenu Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version4.0.0dev 
Target VersionFixed in Version 
Summary16038: Unable to build upload.js
Description

When try to build upload.js with this fix : https://github.com/Shnoulle/LimeSurvey-Shnoulle/commit/45480686b00816e3598ed67ebf57394843716af0
I receive SIGHUp error with yarn

Steps To Reproduce
[upload]$ cd packages/questions/upload
[upload]$ yarn run 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 "SIGHUP".
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.
Additional Information
[upload]$ npm -v
6.13.4
[upload]$ yarn -v
1.21.1

Maybe need more npm install ?

TagsNo tags attached.

Relationships

related to 16026 confirmedcdorin Bug reports Can't have multiple upload question on one page 

Activities

DenisChenu

DenisChenu

2020-03-25 10:55

developer   ~56765

Last edited: 2020-03-25 10:59

View 2 revisions

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 ]
DenisChenu

DenisChenu

2020-03-25 15:47

developer   ~56772

Not after 3 times too ....

Issue History

Date Modified Username Field Change
2020-03-25 10:51 DenisChenu New Issue
2020-03-25 10:51 DenisChenu Relationship added related to 16026
2020-03-25 10:55 DenisChenu Note Added: 56765
2020-03-25 10:59 DenisChenu Note Edited: 56765 View Revisions
2020-03-25 15:47 DenisChenu Note Added: 56772