There's no shortage of content at Laracasts. I accidentally used "touch .." , is there a way to safely delete this document? It is an Uncaught syntax error. The companyName variable cannot be accessed outside this Employee module, as it is not exported. In Node.js you have the option of using either ES Modules or CommonJS modules, and the [code ]import[/code] syntax belongs to ES Modules, which your file is not recognised as. I don't know whether this has appeared obvious here. I'm trying to add electron support to my existing angular application using your template. Because foo could potentially be any path to any file in your system or project. These you don’t have to install it, you can import them and use them in your programs. Hope this helps you fix the import statement Cannot be used outside of a module node problem. Hot Network Questions Include parameter values with data for safe Export and Import Did medieval people wear collars with a castellated hem?