Skip to content
This repository was archived by the owner on Aug 5, 2020. It is now read-only.
This repository was archived by the owner on Aug 5, 2020. It is now read-only.

mobifyjs symbol-link/directory-alias not working (Windows) #302

Description

@MadLittleMods

When running grunt server, I get this error: Error: ENOENT, no such file or directory 'mobifyjs-2.0\mobifyjs\performance\resources\samplescripts'.

I assume this is because express isn't properly using the mobifyjs file in the root.

I am on running on Windows.


Using connect-modrewrite package or something like it to actually alias fixes the problem:

var modRewrite = require('connect-modrewrite');

app.use(modRewrite([
    '^/mobifyjs/(.*) /$1 [L]'
]));

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