You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[INFO] --- frontend-maven-plugin:1.3:install-node-and-yarn (install node and yarn) @ web ---
[INFO] Node v5.10.1 is already installed.
[INFO] Yarn 0.19.1 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.3:yarn (yarn install) @ web ---
[INFO] Running 'yarn install' in /home/user/project/web
[INFO] yarn install v0.19.1
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[WARNING] warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
[INFO] info "fsevents@1.0.17" is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] [3/4] Linking dependencies...
[INFO] [4/4] Building fresh packages...
[ERROR] error /home/user/project/web/node_modules/phantomjs: Command failed.
[ERROR] Exit code: 1
[ERROR] Command: sh
[ERROR] Arguments: -c node install.js
[ERROR] Directory: /home/user/project/web/node_modules/phantomjs
[ERROR] Output:
[ERROR] PhantomJS not found on PATH
[INFO] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[ERROR] Phantom installation failed [TypeError: Path must be a string. Received undefined] TypeError: Path must be a string. Received undefined
[ERROR] at assertPath (path.js:7:11)
[ERROR] at Object.join (path.js:1213:7)
[ERROR] at findSuitableTempDirectory (/home/user/project/web/node_modules/phantomjs/install.js:127:30)
[ERROR] at /home/user/project/web/node_modules/phantomjs/install.js:476:19
[ERROR] at nextTickCallback (/home/user/project/web/node_modules/kew/kew.js:47:28)
[ERROR] at _combinedTickCallback (internal/process/next_tick.js:67:7)
[ERROR] at process._tickCallback (internal/process/next_tick.js:98:9)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
When I ran second time - everything OK, and with NPM - OK(even after removing node_module dir). When node_module is removed the previous error appeared
[INFO] --- frontend-maven-plugin:1.3:install-node-and-yarn (install node and yarn) @ web ---
[INFO] Node v5.10.1 is already installed.
[INFO] Yarn 0.19.1 is already installed.
[INFO]
[INFO] --- frontend-maven-plugin:1.3:yarn (yarn install) @ web ---
[INFO] Running 'yarn install' in /home/user/project/web
[INFO] yarn install v0.19.1
[INFO] [1/4] Resolving packages...
[INFO] [2/4] Fetching packages...
[WARNING] warning fsevents@1.0.17: The platform "linux" is incompatible with this module.
[INFO] info "fsevents@1.0.17" is an optional dependency and failed compatibility check. Excluding it from installation.
[INFO] [3/4] Linking dependencies...
[INFO] [4/4] Building fresh packages...
[INFO] success Saved lockfile.
[INFO] Done in 9.55s.
Please mention your node.js, yarn and operating system version.
Node v5.10.1
Yarn v0.19.1
Maven 3.2.5
Ubuntu 16.04.1
Kernel 4.4.0-59-lowlatency
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
bug
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.
Using maven 3.2.5
pom.xml
package.json
What is the expected behavior?
When I ran second time - everything OK, and with NPM - OK(even after removing node_module dir). When node_module is removed the previous error appeared
Please mention your node.js, yarn and operating system version.
Node v5.10.1
Yarn v0.19.1
Maven 3.2.5
Ubuntu 16.04.1
Kernel 4.4.0-59-lowlatency
The text was updated successfully, but these errors were encountered: