Unable to run anything


Had this problem for the past few days. Not sure what I pressed or if I messed up my workspace but anytime I run my webpages they don’t run on their own page anymore, which is crucial since I need to show this link to my professor for class. Occasionally I am able to use the live preview but sometimes that doesn’t even work.

The terminal is usually empty when this occurs. Occasionally I get this error, but only when it appears to be looking in the wrong place. This error is annoying but not really my main problem.:

Important: use process.env.PORT as the port and process.env.IP as the host in your scripts!

bash: line 3: export: `process.env.PORT=’: not a valid identifier
debugger listening on port 15454

(function (exports, require, module, __filename, __dirname) {
SyntaxError: Unexpected token <
at Module._compile (module.js:439:25)
at Object.Module._extensions…js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain [as _onTimeout] (module.js:497:10)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)

However when this happens the application that runs is just an overview of my workspace index (what it is doing now). Let me know if you need more information about this.


So your running project doesn’t have it’s own URL anymore?

Can you share a screenshot of what the workspace is doing?