interfaced / zombiebox-extension-cutejs

ZombieBox CuteJS template engine extension
MIT License
2 stars 0 forks source link

ENOENT: no such file or directory, open #2

Open karneaud opened 5 years ago

karneaud commented 5 years ago

I managed to get the following packages installed

{
  "name": "zb-demo-project",
  "version": "1.0.0",
  "scripts": {
    "start": "zombiebox run",
    "build": "zombiebox build all"
  },
  "dependencies": {
    "zb-utils": "^0.1.8",
    "zombiebox": "^2.0.0",
    "zombiebox-extension-cutejs": "^1.2.0",
    "zombiebox-extension-dependency-injection": "2.0.0",
    "zombiebox-extension-ui": "^2.0.0",
    "zombiebox-platform-android-tv": "^3.0.0",
    "zombiebox-platform-pc": "^2.0.0"
  }
}

when I run to npm start

I get the following

$ zombiebox run Extension cutejs loaded Extension dependency-injection loaded Extension ui loaded Platform android loaded Platform pc loaded

Replace Autoprefixer browsers option to Browserslist config. Use browserslist key in package.json or .browserslistrc file.

Using browsers option cause some error. Browserslist config can be used for Babel, Autoprefixer, postcss-normalize and other tools.

If you really need to use option, rename it to overrideBrowserslist.

Learn more at: https://github.com/browserslist/browserslist#readme https://twitter.com/browserslist

Open http://localhost:1337/

However when I visit the browser I get...

ENOENT: no such file or directory, open '/usr/src/.generated/cutejs/demo/scenes/abstract-base/abstract-base.jst.js' Referrer: modules/demo/scenes/abstract-base/abstract-base ENOENT: no such file or directory, open '/usr/src/.generated/cutejs/demo/scenes/custom-input/custom-input.jst.js' Referrer: modules/demo/scenes/custom-input/custom-input .....

On checking the .generated folder it appears that the files were not generated as planned.

I'm assuming that the extension is not compatible with the new changes?

karneaud commented 5 years ago

Seems for some reason the JST files that are in sub folders are not being detected..... could be a matter of the directory patterns being incorrect?