giuseppeg / xm

₪ extensible HTML
https://giuseppeg.github.io/xm
326 stars 9 forks source link

Move ncp to dependencies #7

Closed pacocoursey closed 4 years ago

pacocoursey commented 4 years ago

When running xm build (without htmlOnly flag) it fails because ncp is not found:

$ yarn xm build

  ₪ xm  extensible static HTML

internal/modules/cjs/loader.js:800
    throw err;
    ^

Error: Cannot find module 'ncp'

Tested with yalc locally and this seemed to fix it.

giuseppeg commented 4 years ago

good catch! Thanks for the pr @pacocoursey <3

giuseppeg commented 4 years ago

btw @pacocoursey I am thinking to build a default theme (template+CSS) for README.md kind of files - something like this https://github.com/giuseppeg/xm/blob/master/docs.html but nice looking and with syntax highlighting.

Let me know if you want to collaborate (no deadlines or pressure).