Skip to content

react-snapshot crawl fails #15

@cezarneaga

Description

@cezarneaga

console error below.

Pushstate server started on port 2999

🕷   Starting crawling http://localhost:2999
TypeError: Parameter "url" must be a string, not object
    at Url.parse (url.js:81:11)
    at urlParse (url.js:75:5)
    at Url.resolve (url.js:646:29)
    at Object.urlResolve [as resolve] (url.js:642:40)
    at .../node_modules/react-snapshot/lib/Crawler.js:96:44
    at Array.forEach (native)
    at .../node_modules/react-snapshot/lib/Crawler.js:88:83
    at Array.forEach (native)
    at Crawler.extractNewLinks (.../node_modules/react-snapshot/lib/Crawler.js:86:36)
    at .../node_modules/react-snapshot/lib/Crawler.js:68:15

on now.sh i get this error:

at Url.parse (url.js:95:11)
>     at urlParse (url.js:89:5)
>     at Url.resolve (url.js:657:29)
>     at Object.urlResolve [as resolve] (url.js:653:40)
>     at /home/nowuser/src/node_modules/react-snapshot/lib/Crawler.js:96:44
>     at Array.forEach (native)
>     at /home/nowuser/src/node_modules/react-snapshot/lib/Crawler.js:88:83
>     at Array.forEach (native)
>     at Crawler.extractNewLinks (/home/nowuser/src/node_modules/react-snapshot/lib/Crawler.js:86:36)
>     at /home/nowuser/src/node_modules/react-snapshot/lib/Crawler.js:68:15

anyone got into this?
not sure what to try next

thanks

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