Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Error on first run #74

Open
Open
@ogrotten

Description

@ogrotten

After fighting with cmake and the compile step, this is now the error message I get:

PS G:\dev\svelte-nodegui-starter> npm run dev

[email protected] dev

G:\dev\svelte-nodegui-starter\node_modules\webpack\lib\NormalModule.js:179
                        throw new TypeError(
                        ^

TypeError: The 'compilation' argument must be an instance of Compilation
    at NormalModule.getCompilationHooks (G:\dev\svelte-nodegui-starter\node_modules\webpack\lib\NormalModule.js:179:10)
    at G:\dev\svelte-nodegui-starter\node_modules\webpack\lib\HotModuleReplacementPlugin.js:752:18
    at Hook.eval [as call] (eval at create (G:\Dev\svelte-nodegui-starter\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:19:10), <anonymous>:102:1)
    at Hook.CALL_DELEGATE [as _call] (G:\Dev\svelte-nodegui-starter\node_modules\webpack\node_modules\tapable\lib\Hook.js:14:14)
    at G:\Dev\svelte-nodegui-starter\node_modules\webpack\lib\Compiler.js:1035:29
    at Hook.eval [as callAsync] (eval at create (G:\Dev\svelte-nodegui-starter\node_modules\webpack\node_modules\tapable\lib\HookCodeFactory.js:33:10), <anonymous>:6:1)
    at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (G:\Dev\svelte-nodegui-starter\node_modules\webpack\node_modules\tapable\lib\Hook.js:18:14)
    at Compiler.compile (G:\Dev\svelte-nodegui-starter\node_modules\webpack\lib\Compiler.js:1030:28)
    at G:\Dev\svelte-nodegui-starter\node_modules\webpack\lib\Watching.js:132:19

Node.js v18.12.1
PS G:\dev\svelte-nodegui-starter>

Websearching talks about webpack, but nothing with high enough confidence to try anything with it.

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