Assistance Needed with npm run build Build Errors during SageMathCell Server Installation
26 views
Skip to first unread message
Elimboto Yohana
unread,
Dec 25, 2024, 8:35:06 PM12/25/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sage-cell
Dear SageMathCell Community,
I am currently working on installing SageCell on my Ubuntu VPS and have encountered several errors during the npm run build process after executing the command: ../sage/sage -sh -c make.
I also attempted to resolve the issues by using the command: ../sage/sage -sh -c make -B but I continue to face these errors regarding missing JavaScript modules:
ERROR in ./js/interact_cell.js Module not found: Error: Can't resolve 'base/js/events' in '/home/tssfl/sagecell/js' @ ./js/session.js @ ./js/cell.js @ ./js/main.js
ERROR in ./js/session.js Module not found: Error: Can't resolve 'base/js/events' in '/home/tssfl/sagecell/js' @ ./js/cell.js @ ./js/main.js
ERROR in ./js/session.js Module not found: Error: Can't resolve 'base/js/namespace' in '/home/tssfl/sagecell/js' @ ./js/cell.js @ ./js/main.js
ERROR in ./js/session.js Module not found: Error: Can't resolve 'services/kernels/kernel' in '/home/tssfl/sagecell/js' @ ./js/cell.js @ ./js/main.js
ERROR in ./js/utils.js Module not found: Error: Can't resolve 'base/js/utils' in '/home/tssfl/sagecell/js' @ ./js/cell.js @ ./js/main.js
ERROR in ./js/widgets.js Module not found: Error: Can't resolve 'mpl' in '/home/tssfl/sagecell/js' @ ./js/session.js @ ./js/cell.js @ ./js/main.js
webpack 5.94.0 compiled with 6 errors in 42713 ms make: *** [Makefile:42: static/embedded_sagecell.js] Error 1
Could you please provide guidance on how to address these errors? Any insights or suggestions would be greatly appreciated.