Project

General

Profile

Feature #2650

Feature #2632: Conversion to React-Semantic

Feature #2653: Setup The Basics

Setup CI/CD

Added by Luke Murphey over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/14/2020
Due date:
% Done:

100%

History

#1 Updated by Luke Murphey over 4 years ago

  • Parent task changed from #2632 to #2653

#2 Updated by Luke Murphey over 4 years ago

Error is:

Support for the experimental syntax 'decorators-legacy' isn't currently enabled

Qs: *

Obs: *

Solns:
  • Try adding to webpack config
        ['@babel/plugin-proposal-decorators', { legacy: true }],
        ['@babel/plugin-proposal-class-properties', { loose: true }],
    
  • Module name mapper
Refs:

#4 Updated by Luke Murphey over 4 years ago

Error:

 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.7
3 info using node@v13.11.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle textcritical_spa@1.0.0~prebuild: textcritical_spa@1.0.0
6 info lifecycle textcritical_spa@1.0.0~build: textcritical_spa@1.0.0
7 verbose lifecycle textcritical_spa@1.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle textcritical_spa@1.0.0~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/var/lib/go-agent/pipelines/textcritical-spa/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
9 verbose lifecycle textcritical_spa@1.0.0~build: CWD: /var/lib/go-agent/pipelines/textcritical-spa
10 silly lifecycle textcritical_spa@1.0.0~build: Args: [ '-c', 'webpack --mode production --config webpack.prod.js' ]
11 info lifecycle textcritical_spa@1.0.0~build: Failed to exec build script
12 verbose stack Error: textcritical_spa@1.0.0 build: `webpack --mode production --config webpack.prod.js`
12 verbose stack spawn ENOENT
12 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack     at ChildProcess.emit (events.js:315:20)
12 verbose stack     at maybeClose (internal/child_process.js:1026:16)
12 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
13 verbose pkgid textcritical_spa@1.0.0
14 verbose cwd /var/lib/go-agent/pipelines/textcritical-spa
15 verbose Linux 5.4.10-x86_64-linode132
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "build" 
17 verbose node v13.11.0
18 verbose npm  v6.13.7
19 error code ELIFECYCLE
20 error syscall spawn
21 error file sh
22 error errno ENOENT
23 error textcritical_spa@1.0.0 build: `webpack --mode production --config webpack.prod.js`
23 error spawn ENOENT
24 error Failed at the textcritical_spa@1.0.0 build script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]

#5 Updated by Luke Murphey over 4 years ago

  • % Done changed from 0 to 50

#6 Updated by Luke Murphey over 4 years ago

  • % Done changed from 50 to 70

#7 Updated by Luke Murphey over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 70 to 100

Also available in: Atom PDF