Closed ghost closed 4 years ago
$ node -v v10.16.0 $ npm -v 6.14.8
Running the Compile from sources instructions from readme.md:
readme.md
Mattia@Lenovo-PC MINGW64 /c/xampp/htdocs/_play/resume (europass-parser) $ git clone https://github.com/europass/europasscv-parser-js.git Cloning into 'europasscv-parser-js'... Mattia@Lenovo-PC MINGW64 /c/xampp/htdocs/_play/resume (europass-parser) $ remote: Enumerating objects: 19, done. remote: Counting objects: 100% (19/19), done. remote: Compressing objects: 100% (17/17), done. remote: Total 112 (delta 10), reused 4 (delta 2), pack-reused 93 Receiving objects: 100% (112/112), 206.59 KiB | 349.00 KiB/s, done. Resolving deltas: 100% (64/64), done. Mattia@Lenovo-PC MINGW64 /c/xampp/htdocs/_play/resume (europass-parser) $ cd europasscv-parser-js Mattia@Lenovo-PC MINGW64 /c/xampp/htdocs/_play/resume/europasscv-parser-js (master) $ npm install && npm run build npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) added 841 packages from 396 contributors and audited 911 packages in 212.016s 21 packages are looking for funding run `npm fund` for details found 143 vulnerabilities (137 low, 6 high) run `npm audit fix` to fix them, or `npm audit` for details > europass-parser@1.0.4 prebuild C:\xampp\htdocs\_play\resume\europasscv-parser-js > npm run clean && npm run init > europass-parser@1.0.4 clean C:\xampp\htdocs\_play\resume\europasscv-parser-js > rm -rf docs > europass-parser@1.0.4 init C:\xampp\htdocs\_play\resume\europasscv-parser-js > mkdir docs > europass-parser@1.0.4 build C:\xampp\htdocs\_play\resume\europasscv-parser-js > webpack --mode development --env build && NODE_ENV=production Hash: c61ae6c14fcfca61b992 Version: webpack 4.42.1 Time: 18905ms Built at: 2020-10-10 1:00:04 AM Asset Size Chunks Chunk Names ./index.html 30.7 KiB [emitted] config.js 13.7 KiB [emitted] europass-parser.js 6.4 KiB main [emitted] main main.css 8.58 KiB main [emitted] main Entrypoint main = main.css europass-parser.js [./src/api.js] 4.06 KiB {main} [built] [./src/index.js] 2.89 KiB {main} [built] [./src/parser.js] 5.48 KiB {main} [built] [./src/styles.css] 39 bytes {main} [built] + 1 hidden module Child html-webpack-plugin for "index.html": 1 asset Entrypoint undefined = ./index.html [./node_modules/html-webpack-plugin/lib/loader.js!./src/index.html] 32.1 KiB {0} [built] Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js!src/styles.css: Entrypoint mini-css-extract-plugin = * [./node_modules/css-loader/dist/cjs.js!./src/styles.css] 9.74 KiB {mini-css-extract-plugin} [built] + 1 hidden module 'NODE_ENV' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! europass-parser@1.0.4 build: `webpack --mode development --env build && NODE_ENV=production` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the europass-parser@1.0.4 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\Mattia\AppData\Roaming\npm-cache\_logs\2020-10-09T23_00_05_256Z-debug.log
0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe', 1 verbose cli 'C:\\Users\\Mattia\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'run', 1 verbose cli 'build' ] 2 info using npm@6.14.8 3 info using node@v10.16.0 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ] 5 info lifecycle europass-parser@1.0.4~prebuild: europass-parser@1.0.4 6 verbose lifecycle europass-parser@1.0.4~prebuild: unsafe-perm in lifecycle true 7 verbose lifecycle europass-parser@1.0.4~prebuild: PATH: C:\Users\Mattia\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\xampp\htdocs\_play\resume\europasscv-parser-js\node_modules\.bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Mattia\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Lenovo\FusionEngine;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\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files\Git\cmd;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\PuTTY;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs;C:\Ruby25-x64\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\Mattia\AppData\Roaming\Composer\vendor\bin;C:\Program Files\heroku\bin;C:\Users\Mattia\AppData\Roaming\npm;C:\Users\Mattia\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Mattia\.dotnet\tools;C:\Program Files (x86)\GitHub CLI 8 verbose lifecycle europass-parser@1.0.4~prebuild: CWD: C:\xampp\htdocs\_play\resume\europasscv-parser-js 9 silly lifecycle europass-parser@1.0.4~prebuild: Args: [ '/d /s /c', 'npm run clean && npm run init' ] 10 silly lifecycle europass-parser@1.0.4~prebuild: Returned: code: 0 signal: null 11 info lifecycle europass-parser@1.0.4~build: europass-parser@1.0.4 12 verbose lifecycle europass-parser@1.0.4~build: unsafe-perm in lifecycle true 13 verbose lifecycle europass-parser@1.0.4~build: PATH: C:\Users\Mattia\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\xampp\htdocs\_play\resume\europasscv-parser-js\node_modules\.bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\Mattia\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Lenovo\FusionEngine;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\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files\Git\cmd;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\PuTTY;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs;C:\Ruby25-x64\bin;C:\Program Files\Microsoft VS Code\bin;C:\Users\Mattia\AppData\Roaming\Composer\vendor\bin;C:\Program Files\heroku\bin;C:\Users\Mattia\AppData\Roaming\npm;C:\Users\Mattia\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Mattia\.dotnet\tools;C:\Program Files (x86)\GitHub CLI 14 verbose lifecycle europass-parser@1.0.4~build: CWD: C:\xampp\htdocs\_play\resume\europasscv-parser-js 15 silly lifecycle europass-parser@1.0.4~build: Args: [ '/d /s /c', 15 silly lifecycle 'webpack --mode development --env build && NODE_ENV=production' ] 16 silly lifecycle europass-parser@1.0.4~build: Returned: code: 1 signal: null 17 info lifecycle europass-parser@1.0.4~build: Failed to exec build script 18 verbose stack Error: europass-parser@1.0.4 build: `webpack --mode development --env build && NODE_ENV=production` 18 verbose stack Exit status 1 18 verbose stack at EventEmitter.<anonymous> (C:\Users\Mattia\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16) 18 verbose stack at EventEmitter.emit (events.js:198:13) 18 verbose stack at ChildProcess.<anonymous> (C:\Users\Mattia\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 18 verbose stack at ChildProcess.emit (events.js:198:13) 18 verbose stack at maybeClose (internal/child_process.js:982:16) 18 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 19 verbose pkgid europass-parser@1.0.4 20 verbose cwd C:\xampp\htdocs\_play\resume\europasscv-parser-js 21 verbose Windows_NT 6.3.9600 22 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Mattia\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "build" 23 verbose node v10.16.0 24 verbose npm v6.14.8 25 error code ELIFECYCLE 26 error errno 1 27 error europass-parser@1.0.4 build: `webpack --mode development --env build && NODE_ENV=production` 27 error Exit status 1 28 error Failed at the europass-parser@1.0.4 build script. 28 error This is probably not a problem with npm. There is likely additional logging output above. 29 verbose exit [ 1, true ]
Env
Running the Compile from sources instructions from
readme.md
:Log