Cannot find module 'rollup'

@ashish-greycube

  1. Make sure you are running node version 8.12.0 or greater
  2. Change directory to frappe folder by running cd frappe-bench/apps/frappe
  3. Delete your node_modules folder in your frappe app folder by running rm -rf node_modules
  4. Change directory to frappe-bench folder by running cd ../..
  5. Run bench setup requirements --node
  6. Run bench build
8 Likes