Hi, - I have installed *sagemath *from packages - I then tried to install a *SageMathCell Server* following the Simple Installation Guide from https://github.com/sagemath/sagecell : - Steps 1 and 3 went OK, - I omittted Step 2, since I already have sage installed. (and the system won't let me overwrite it) - In Step 4, the directory sagecell was built at /home/varvara/sagecell , but after running
$ sage -sh -c make webpack 5.69.1 compiles with 6 errors. Below you will find the error output. My questions are: 1) could these errors be related to the fact that I haven't installed *sage *from github (i.e., ommited step 2)? 1') if yes, how do I properly uninstall *sage *and the sagecell directory to try the instation process from https://github.com/sagemath/sagecell (including Step 2) over again? 2) if the errors aren't related to the way I installed *sage*, how can I solve them? It feels like there might be a (related) path error somewhere (files are copied / sourced from a wrong directory), but after a lot of googling about webpack errors I still wasn't able to fix them, unfortunately. I would be grateful for any tipps. ----------------------------------------- ERROR output $ sage -sh -c make npm run build > [email protected] build > webpack --mode production assets by status 817 KiB [cached] 1 asset runtime modules 1.02 KiB 6 modules modules by path ./node_modules/ 1.57 MiB 160 modules modules by path ./js/ 123 KiB ./js/main.js 5.18 KiB [built] [code generated] ./js/sagecell.js 302 bytes [built] [code generated] ./js/cell.js 13.5 KiB [built] [code generated] + 14 modules modules by path ./build/vendor/ 36.3 KiB ./build/vendor/colorpicker.js 19.2 KiB [built] [code generated] ./build/vendor/colorpicker.css 3.55 KiB [built] [code generated] ./build/vendor/fontawesome.css 2.27 KiB [built] [code generated] ./build/vendor/sagecell.css 11.2 KiB [built] [code generated] *ERROR in ./js/interact_cell.js* Module not found: Error: Can't resolve 'base/js/events' in '/home/varvara/sagecell/js' resolve 'base/js/events' in '/home/varvara/sagecell/js' Parsed request is a module using description file: /home/varvara/sagecell/package.json (relative path: ./js) resolve as module looking for modules in /home/varvara/sagecell/build/vendor /home/varvara/sagecell/build/vendor/base doesn't exist looking for modules in /home/varvara/sagecell/node_modules existing directory /home/varvara/sagecell/node_modules/base using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: .) using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: ./js/events) Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events doesn't exist .webpack.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events.webpack.js doesn't exist .web.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events.web.js doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events.js doesn't exist as directory /home/varvara/sagecell/node_modules/base/js/events doesn't exist @ ./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/varvara/sagecell/js' resolve 'base/js/events' in '/home/varvara/sagecell/js' Parsed request is a module using description file: /home/varvara/sagecell/package.json (relative path: ./js) resolve as module looking for modules in /home/varvara/sagecell/build/vendor /home/varvara/sagecell/build/vendor/base doesn't exist looking for modules in /home/varvara/sagecell/node_modules existing directory /home/varvara/sagecell/node_modules/base using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: .) using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: ./js/events) Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events doesn't exist .webpack.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events.webpack.js doesn't exist .web.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events.web.js doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/events.js doesn't exist as directory /home/varvara/sagecell/node_modules/base/js/events doesn't exist @ ./js/cell.js @ ./js/main.js *ERROR in ./js/session.js* Module not found: Error: Can't resolve 'base/js/namespace' in '/home/varvara/sagecell/js' resolve 'base/js/namespace' in '/home/varvara/sagecell/js' Parsed request is a module using description file: /home/varvara/sagecell/package.json (relative path: ./js) resolve as module looking for modules in /home/varvara/sagecell/build/vendor /home/varvara/sagecell/build/vendor/base doesn't exist looking for modules in /home/varvara/sagecell/node_modules existing directory /home/varvara/sagecell/node_modules/base using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: .) using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: ./js/namespace) Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/namespace doesn't exist .webpack.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/namespace.webpack.js doesn't exist .web.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/namespace.web.js doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/namespace.js doesn't exist as directory /home/varvara/sagecell/node_modules/base/js/namespace doesn't exist @ ./js/cell.js @ ./js/main.js *ERROR in ./js/session.js* Module not found: Error: Can't resolve 'services/kernels/kernel' in '/home/varvara/sagecell/js' resolve 'services/kernels/kernel' in '/home/varvara/sagecell/js' Parsed request is a module using description file: /home/varvara/sagecell/package.json (relative path: ./js) resolve as module looking for modules in /home/varvara/sagecell/build/vendor /home/varvara/sagecell/build/vendor/services doesn't exist looking for modules in /home/varvara/sagecell/node_modules /home/varvara/sagecell/node_modules/services doesn't exist @ ./js/cell.js @ ./js/main.js *ERROR in ./js/utils.js* Module not found: Error: Can't resolve 'base/js/utils' in '/home/varvara/sagecell/js' resolve 'base/js/utils' in '/home/varvara/sagecell/js' Parsed request is a module using description file: /home/varvara/sagecell/package.json (relative path: ./js) resolve as module looking for modules in /home/varvara/sagecell/build/vendor /home/varvara/sagecell/build/vendor/base doesn't exist looking for modules in /home/varvara/sagecell/node_modules existing directory /home/varvara/sagecell/node_modules/base using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: .) using description file: /home/varvara/sagecell/node_modules/base/package.json (relative path: ./js/utils) Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/utils doesn't exist .webpack.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/utils.webpack.js doesn't exist .web.js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/utils.web.js doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /home/varvara/sagecell/node_modules/base/js/utils.js doesn't exist as directory /home/varvara/sagecell/node_modules/base/js/utils doesn't exist @ ./js/cell.js @ ./js/main.js *ERROR in ./js/widgets.js* Module not found: Error: Can't resolve 'mpl' in '/home/varvara/sagecell/js' resolve 'mpl' in '/home/varvara/sagecell/js' Parsed request is a module using description file: /home/varvara/sagecell/package.json (relative path: ./js) resolve as module looking for modules in /home/varvara/sagecell/build/vendor single file module using description file: /home/varvara/sagecell/package.json (relative path: ./build/vendor/mpl) /home/varvara/sagecell/build/vendor/mpl doesn't exist .webpack.js /home/varvara/sagecell/build/vendor/mpl.webpack.js doesn't exist .web.js /home/varvara/sagecell/build/vendor/mpl.web.js doesn't exist .js /home/varvara/sagecell/build/vendor/mpl.js doesn't exist /home/varvara/sagecell/build/vendor/mpl doesn't exist looking for modules in /home/varvara/sagecell/node_modules single file module using description file: /home/varvara/sagecell/package.json (relative path: ./node_modules/mpl) /home/varvara/sagecell/node_modules/mpl doesn't exist .webpack.js /home/varvara/sagecell/node_modules/mpl.webpack.js doesn't exist .web.js /home/varvara/sagecell/node_modules/mpl.web.js doesn't exist .js /home/varvara/sagecell/node_modules/mpl.js doesn't exist /home/varvara/sagecell/node_modules/mpl doesn't exist @ ./js/session.js @ ./js/cell.js @ ./js/main.js webpack 5.69.1 compiled with 6 errors in 17394 ms make: *** [Makefile:42: static/embedded_sagecell.js] Error 1 -- You received this message because you are subscribed to the Google Groups "sage-cell" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-cell/55d56219-1e5d-4df1-85d6-e9fe0425e7cfn%40googlegroups.com.
