particle icon indicating copy to clipboard operation
particle copied to clipboard

Particle installation error while command "npm run setup"

Open MrPresidentWhite opened this issue 4 years ago • 0 comments
trafficstars

Hello I have the following problem with Particle:

I have the problem that Particle is not installed and configured normally in my Drupal 9 project. However, Particle brings the following error with the npm run setup command: Screenshot_510

To Reproduce Steps to reproduce the behavior:

  1. Install the latest Drupal 9 Version
  2. Install the Drupal module components
  3. In the file composer.json add the following line in the root directory of the Drupal website "extra": { "installer-paths": { "themes/{$name}": ["phase2/particle"], ... } }
  4. Install Particle via composer with composer require phase2/particle
  5. run the command npm install
  6. run the command npm run setup
  7. You should now see the error

Expected behavior The command should run normally with no errors and I should be able to continue installing Particle and using it.

Server

  • OS: Debian 10 Server
  • Drupall Version: 9.1.3
  • Particle Version: ^10.7
  • Webserver: nginx/1.14.2
  • PHP Version: 7.4.13
  • Database Version: 10.3.27-MariaDB-0+deb10u1
  • npm Version: 6.4.10
  • Composer Version: 1.10.19 2020-12-04 09:14:16

Other errors that occurred during the installation

When I executed the npm install command, 69 audits occurred and after the npm audit fix command there were 10 remaining audits. The npm audit fix command did not contribute to the error. npm_audit.txt

MrPresidentWhite avatar Jan 25 '21 21:01 MrPresidentWhite