Seq2Seq-Vis
Seq2Seq-Vis copied to clipboard
Running the setup_cpu.sh script on Ubuntu 16.04 fails with errors in npm
Hi,
Just cloned the repo and ran the setup_cpu.sh script as instructed, gives me errors during the build with npm packages. Specifically the ``sass-loaderrequires
node-sass >=4. Please install a compatible version
Command Used:
source setup_cpu.sh
Screenshot:
Complete Log File: 2019-10-01T14_24_22_398Z-debug.log
Thanks. I will try to update the files such that the newest sass
will be installed. For now, try running npm update sass
and then npm run wp
. That might work.
Updating sass module did not work, I went down this rabbit hole of fixing individual package dependencies with npm audit etc. and that did not work either.
Fix Used:
Finally, The trick was to installed the older version of nodejs
,
Commands:
conda uninstall nodejs
conda install nodejs==9.11.1 -c conda-forge
which node
should give <your conda path>/bin/node
node --version
#Just to verify
npm -V
#Just to verify
Just a thought, pip freezeing all the python/conda packages for next version would be helpful in replicating.
Thanks @mohammedayub44 I have met the similar problem. And use the older version of nodejs solves this problem.