How to read debug Sage 9.0.0-beta3

Hi,
I am new to Sage, but it looks amazing. I am not sure how to debug the project, so I would love to get help. When I have installed:

npm install gsap
npm i npm-font-open-sans --save

I can’t build the project, getting:

pm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! sage@9.0.0-beta.3 build: `webpack --progress --config 
resources/assets/build/webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the sage@9.0.0-beta.3 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!     C:\Users\barglm\AppData\Roaming\npm-cache\_logs\2017-08-11T20_20_14_473Z-debug.log

In the log file, there is:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\barglm\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@5.3.0
3 info using node@v6.10.2
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle sage@9.0.0-beta.3~prebuild: sage@9.0.0-beta.3
6 info lifecycle sage@9.0.0-beta.3~build: sage@9.0.0-beta.3
7 verbose lifecycle sage@9.0.0-beta.3~build: unsafe-perm in lifecycle true
8 verbose lifecycle sage@9.0.0-beta.3~build: PATH: C:\Users\barglm\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\web\webwings\wp-content\themes\ww2017\node_modules\.bin;C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu;C:\Program Files\ConEmu\ConEmu;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\TortoiseSVN\bin;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\ProgramData\chocolatey\bin;C:\xampp\xampp711\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseGit\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Ruby23-x64\bin;C:\Users\barglm\AppData\Local\Microsoft\WindowsApps;C:\Users\barglm\AppData\Roaming\npm;C:\Users\barglm\AppData\Local\Programs\EmEditor;C:\Users\barglm\AppData\Roaming\Composer\vendor\bin;C:\Users\barglm\AppData\Roaming\Dashlane\4.6.6.23032\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Program Files (x86)\OpenVPN\bin;C:\Users\barglm\AppData\Roaming\Dashlane\4.8.3.33797\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Users\barglm\AppData\Roaming\Dashlane\4.8.3.33797\ucrt
9 verbose lifecycle sage@9.0.0-beta.3~build: CWD: C:\web\webwings\wp-content\themes\ww2017
10 silly lifecycle sage@9.0.0-beta.3~build: Args: [ '/d /s /c',
10 silly lifecycle   'webpack --progress --config resources/assets/build/webpack.config.js' ]
11 silly lifecycle sage@9.0.0-beta.3~build: Returned: code: 2  signal: null
12 info lifecycle sage@9.0.0-beta.3~build: Failed to exec build script
13 verbose stack Error: sage@9.0.0-beta.3 build: `webpack --progress --config resources/assets/build/webpack.config.js`
13 verbose stack Exit status 2
13 verbose stack     at EventEmitter.<anonymous> (C:\Users\barglm\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:289:16)
13 verbose stack     at emitTwo (events.js:106:13)
13 verbose stack     at EventEmitter.emit (events.js:191:7)
13 verbose stack     at ChildProcess.<anonymous> (C:\Users\barglm\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
13 verbose stack     at emitTwo (events.js:106:13)
13 verbose stack     at ChildProcess.emit (events.js:191:7)
13 verbose stack     at maybeClose (internal/child_process.js:886:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
14 verbose pkgid sage@9.0.0-beta.3
15 verbose cwd C:\web\webwings\wp-content\themes\ww2017
16 verbose Windows_NT 10.0.15063
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\barglm\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
18 verbose node v6.10.2
19 verbose npm  v5.3.0
20 error code ELIFECYCLE
21 error errno 2
22 error sage@9.0.0-beta.3 build: `webpack --progress --config resources/assets/build/webpack.config.js`
22 error Exit status 2
23 error Failed at the sage@9.0.0-beta.3 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]
1 Like