The entry file: {entryFile}, is not found in: {outputDirectory}

Why I'm seeing this​

The file configured in myjsblock.config.js is invalid. When pushing a new version, the path of the file configured in myjsblock.config.js under entryFile was not found.

How to fix it​

The file configured under the entryFile property must be located in the outputDirectory. Also configured in the myjsblock.config.js. If you didn't configure the outputDirectory in the configuration file, the default, dist, will be used.

An example project setup might be:

β”œβ”€β”€ hello-world.html
└── main.js

The configuration for such a project would be:

  "entryFile": "hello-world.html",
  "outputDirectory": "output"

Last updated