markdown-here icon indicating copy to clipboard operation
markdown-here copied to clipboard

metascript is lowercase in npm; this fixes builds on case sensitive filesystems.

Open akatrevorjay opened this issue 6 years ago • 1 comments

akatrevorjay avatar Nov 01 '17 05:11 akatrevorjay

@adam-p This needs to be merged into the main branch. Without it is impossible to set up a development environment as the package won't install with the old name.

When you run make you get get the following error:

rm -rf dist
cd utils; \
node "build.js";
internal/modules/cjs/loader.js:638
    throw err;
    ^

Error: Cannot find module 'MetaScript'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
    at Module.require (internal/modules/cjs/loader.js:692:17)
    at require (internal/modules/cjs/helpers.js:25:18)
    at Object.<anonymous> (/home/tschallacka/Documents/github/markdown-here/utils/build.js:12:18)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
make: *** [Makefile:13: build] Error 1

If this commit would be merged into master, this issue would be resolved.

For those that stumble upon this non-merged pull request

if you forked this library run git remote add upstream [email protected]:adam-p/markdown-here.git

then run

git fetch upstream pull/459/head:your-local-branch-name-here

and then you can run make without issues.

tschallacka avatar Dec 30 '21 18:12 tschallacka

This should be reopened.

tschallacka avatar Sep 11 '22 21:09 tschallacka