leaningtech/webvm

[Error] ReferenceError: Can't find variable: CMD

Closed this issue · 1 comments

I forked the repo, ran the action and I see this in the dev tools.

[Error] ReferenceError: Can't find variable: CMD
	runBash (webvm:264)
[Error] Source Map loading errors (x3)
[Error] Failed to load resource: the server responded with a status of 404 () (addon-web-links.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (addon-fit.js.map, line 0)
[Error] Source Map loading errors (x4)
[Error] Failed to load resource: the server responded with a status of 404 () (xterm.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (xterm.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (addon-fit.js.map, line 0)
[Error] Failed to load resource: the server responded with a status of 404 () (addon-web-links.js.map, line 0)
[Error] ReferenceError: Can't find variable: CMD
	runBash (webvm:264)

I can see from your fork (https://github.com/agardnerIT/webvm/actions) that the Deploy workflow has not been correctly run.

The CMD (and other) variable are replaced during the Deploy workflow. Please try again following the instructions here: https://github.com/leaningtech/webvm/tree/main?tab=readme-ov-file#fork-deploy-customize