You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to execute the command htmplar-dev or htmplar dev it raises this error:
> yarn run htmplar-dev
yarn run v1.22.19
$ htmplar dev
node_modules/htmplar/src/utils/walker.js:11
if (exclude.length <= 0 || !exclude.includes(dirPath)) {
^
TypeError: Cannot read properties of undefined (reading 'length')
at walkSync (node_modules/htmplar/src/utils/walker.js:11:15)
at Object.<anonymous> (node_modules/htmplar/src/server/page.js:70:1)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._compile (node_modules/pirates/lib/index.js:117:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Object.newLoader [as .js] (node_modules/pirates/lib/index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (node_modules/htmplar/src/server/index.js:6:15)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._compile (node_modules/pirates/lib/index.js:117:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Object.newLoader [as .js] (node_modules/pirates/lib/index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Module.require (node:internal/modules/cjs/loader:1115:19)
at require (node:internal/modules/helpers:130:18)
at Object.<anonymous> (node_modules/htmplar/src/cli/index.js:8:13)
at Module._compile (node:internal/modules/cjs/loader:1233:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)
at Module.load (node:internal/modules/cjs/loader:1091:32)
at Module._load (node:internal/modules/cjs/loader:938:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
at node:internal/main/run_main_module:23:47
Node.js v20.5.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Some example to reproduce the issue:
The text was updated successfully, but these errors were encountered:
Node/npm version(s):
Package(s) version(s):
Description of the issue observed:
When I try to execute the command htmplar-dev or htmplar dev it raises this error:
Some example to reproduce the issue:
The text was updated successfully, but these errors were encountered: