particle
particle copied to clipboard
Particle installation error while command "npm run setup"
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:

To Reproduce Steps to reproduce the behavior:
- Install the latest Drupal 9 Version
- Install the Drupal module components
- In the file
composer.jsonadd the following line in the root directory of the Drupal website"extra": { "installer-paths": { "themes/{$name}": ["phase2/particle"], ... } } - Install Particle via composer with
composer require phase2/particle - run the command
npm install - run the command
npm run setup - 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