Skip to content

Error trying to run: "Unrecognized tag: init-widgets" #4

@davidgilbertson

Description

@davidgilbertson

I cloned the repo, npm i (no errors), npm test and got an error. It's the same error for npm start.

I see a reference to <init-widgets/> in page.marko but nowhere else. The error page suggests it needs to be in package.json, so I tried npm i init-widgets but it doesn't exist.

Any ideas? (I know nothing at all about Marko)

LM-SYD-00000:marko-vs-react dgilbertson$ npm start

> marko-vs-react@1.0.0 start /Users/dgilbertson/www/marko-vs-react
> node server.js

/Users/dgilbertson/www/marko-vs-react/node_modules/marko/compiler/Compiler.js:84
        throw error;
        ^

Error: An error occurred while trying to compile template at path "/Users/dgilbertson/www/marko-vs-react/benchmark-client/page.marko". Error(s) in template:
1) [benchmark-client/page.marko:21:8] Unrecognized tag: init-widgets - More details: https://github.com/marko-js/marko/wiki/Error:-Unrecognized-Tag

    at handleErrors (/Users/dgilbertson/www/marko-vs-react/node_modules/marko/compiler/Compiler.js:82:21)
    at Compiler.compile (/Users/dgilbertson/www/marko-vs-react/node_modules/marko/compiler/Compiler.js:151:9)
    at _compile (/Users/dgilbertson/www/marko-vs-react/node_modules/marko/compiler/index.js:89:33)
    at Object.compile (/Users/dgilbertson/www/marko-vs-react/node_modules/marko/compiler/index.js:103:12)
    at compile (/Users/dgilbertson/www/marko-vs-react/node_modules/marko/node-require.js:52:38)
    at Object.markoRequireExtension [as .marko] (/Users/dgilbertson/www/marko-vs-react/node_modules/marko/node-require.js:120:27)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions