Skip to content

bug: No Entry found & argument error #567

@webpack-bot

Description

@webpack-bot

Bug report

What is the current behavior?
It fails to build and shows this:

cross-env NODE_ENV=production webpack --mode production --progress --hide-modules

[prerender-spa-plugin] You appear to be using the v2 argument-based configuration options. It's recommended that you migrate to the clearer object-based configuration system.
Check the documentation for more information.
                                                                          
Insufficient number of arguments or no entry found.
Alternatively, run 'webpack(-cli) --help' for usage info.

Hash: b472844c05bb4ae38896
Version: webpack 4.16.5
Time: 250ms
Built at: 10/08/2018 13:58:49

ERROR in Entry module not found: Error: Can't resolve './src' in '/home/maxie/Dropbox/Public/Learning/VueJS/vue-static'
Child html-webpack-plugin for "index.html":
     1 asset
    Entrypoint undefined = index.html

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
It should build the application successfully like how it was done here which worked until the warnings messages which got me to update the plugins and the config to what can be found in this repo.

Other relevant information:
webpack version: 4.16.5
Node.js version: 10.7.0
Operating System: ArchLinux x64 (Linux 4.17.11.a-1-hardened)
Additional tools: webpack-cli@3.1.0, webpack-dev-server@3.1.5


This issue was moved from webpack/webpack#7874 by @montogeek. Original issue was by @Berkmann18.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions