Closed YtvwlD closed 5 years ago
Hi @YtvwlD, have you done a first time "npm install" without errors? what's your operating system?
This was the output of npm install
:
> phantomjs-prebuilt@2.1.16 install /code/node_modules/jquery-ui/node_modules/phantomjs-prebuilt
> node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
Received 22866K total.
Extracting tar contents (via spawned process)
Removing /code/node_modules/jquery-ui/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1563211983760/phantomjs-2.1.1-linux-x86_64 -> /code/node_modules/jquery-ui/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /code/node_modules/jquery-ui/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
> husky@2.0.0 install /code/node_modules/husky
> node husky install
husky > setting up git hooks
husky > done
> commitplease@2.3.0 install /code/node_modules/jquery-ui/node_modules/commitplease
> node install
Could not find git repo in /code/node_modules/jquery-ui/.git
npm WARN lifecycle pawebcontrol@2.0.0~postinstall: cannot run in wd pawebcontrol@2.0.0 cd node_modules/jquery-ui && npm install (wd=/code)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1562 packages from 684 contributors and audited 20982 packages in 81.413s
found 417 vulnerabilities (63 low, 7 moderate, 347 high)
run `npm audit fix` to fix them, or `npm audit` for details
Edit: This is all inside a Docker container running Alpine.
I've updated some old dependencies. please try again.
I did. And it built successfully. (I didn't yet test whether the application really works, but it builds now.)
I've wrote some lines about Dockerization: https://github.com/Siot/PaWebControl/wiki/Thoughts-on-dockerization
I've tried to install the new version (with the rewritten backend), but failed (after I installed grunt and Java).
This is the log: