Open pgouvenou opened 1 year ago
Hello @pgouvenou thanks for submitting an issue. It seems that 'react-scripts' (part of nodejs) is not being found. A couple of questions: 1) are you using the file particleviz.yml to create your environment? (it should install nodejs for you) 2) could you tell me which operating system are you using?
Thanks, Olmo
I have this version of nodejs in my environment : nodejs 18.12.1 h8839609_0 conda-forge
Is this the first time you launch the script? Normally you should see a progress bar like this:
(#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠼ idealTree: timing idealTree Completed in
when npm is installing the dependencies. From your logs, it looks like npm can't write in the directory. Make sure you have the right permission to the current directory.
When I execute the command line, I have the following error :
{'--config_file': False, '--help': False, '--input_file': True, '--version': False, '': None,
'': 'ExampleData/Global_Marine_Debris.nc',
'all': False,
'preproc': False,
'webapp': False}
Doing preprocessing...
Reading data...
Total number of timesteps: 62 Total number of particles: 32300 (2002600 positions, Number of files: 2)
Verifying data boundaries...
Analyzing times of the particles....
Subsampling for desktop and mobile versions..
Searching for nans...
Working with file 0...
Saving binary file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/2.....
Saving zip file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/2/pviz_dataset 1_00.zip ( Time steps from 0 to 50) .....
Working with file 1...
Saving binary file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/2.....
Saving zip file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/2/pviz_dataset 1_01.zip ( Time steps from 50 to 62) .....
Searching for nans...
Working with file 0...
Saving binary file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/4.....
Saving zip file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/4/pviz_dataset 1_00.zip ( Time steps from 0 to 50) .....
Working with file 1...
Saving binary file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/4.....
Saving zip file /homelocal/pgouvenou/particleviz/ParticleViz_DataPreproc/../ParticleViz_WebApp/data/4/pviz_dataset 1_01.zip ( Time steps from 50 to 62) .....
Done!
Initializing webapp...
Copying lagrangian data folder ...
Done!
Copying web data folder...
Done!
npm ERR! code Unknown system error -122
npm ERR! syscall write
npm ERR! errno -122
npm ERR! Unknown system error -122: Unknown system error -122, write
npm ERR! A complete log of this run can be found in: npm ERR! /home/pgouvenou/.npm/_logs/2023-01-24T15_38_12_245Z-debug-0.log
sh: react-scripts: command not found Done!
I don't know why, if you can help me I would be grateful. pgouvenou