Skip to content

Microsoft Windows notes #153

@clach04

Description

@clach04

Not ready for a PR yet, jotting down notes on installing/running Mervane on Microsoft Windows (10).

Also see #148

pip problem

pip install may not work unless a C compiler and Rust compiler is installed due to (indirect) dependencies of packages that are installed. However there are binary Wheels available for all direct and indirect dependencies BUT that requires an update to pip. E.g. Python 3.8 with pip-19.0.3 will fail to install wheels correctly. pip-21.1.3 works fine

pip fix

Issue:

python -m pip install --upgrade pip

Then follow Pervane install instructions.

Webbrowser silently fails

Web server will not display tab correctly (shows mustache/handlebars template name) {{ openTabHeader|shortenTabName }}

Console log shows 2 errors:

  • (index):69 Uncaught SyntaxError: Invalid or unexpected token
  • (index):1411 Uncaught ReferenceError: tree is not defined at (index):1411

issue 1 is invalid javascript, directory name is "\", so unescaped path:

var rootDirPath = "\";

Possible workaround specify dir in unix format python pervane/serve.py --debug=true --dir pervane/example/ does not seem to work :( (code fix needed).

Issue 2, unclear, likely missing variable due to number 1

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