mobifyjs icon indicating copy to clipboard operation
mobifyjs copied to clipboard

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

Open MadLittleMods opened this issue 10 years ago • 0 comments

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]'
]));

MadLittleMods avatar Apr 16 '15 00:04 MadLittleMods