Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"getting started" setup fails #32

Closed
bghmarmalade opened this issue Jan 11, 2019 · 5 comments
Closed

"getting started" setup fails #32

bghmarmalade opened this issue Jan 11, 2019 · 5 comments
Assignees
Labels

Comments

@bghmarmalade
Copy link

Describe the bug
I cannot start the demo as described in https://uiengine.uix.space/basics/getting-started/

To Reproduce
follow steps from https://uiengine.uix.space/basics/getting-started/
the step
npx uiengine build --serve --watch
fails.

Expected behavior
a basic UIengine demo project running.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
node -v
v8.15.0
npm -v
6.4.1

console output:
/uiengine-demo$ npx uiengine build --serve --watch
🚨 Build failed!

TypeError: Expected cwd to be of type string but received type undefined
at module.exports (/home/boris/spoco-mce/uiengine-demo/node_modules/dir-glob/index.js:44:25)
at globDirs (/home/boris/spoco-mce/uiengine-demo/node_modules/globby/index.js:58:9)
at getPattern (/home/boris/spoco-mce/uiengine-demo/node_modules/globby/index.js:61:64)
at Promise.all.globTasks.map.task (/home/boris/spoco-mce/uiengine-demo/node_modules/globby/index.js:72:69)
at Array.map ()
at module.exports (/home/boris/spoco-mce/uiengine-demo/node_modules/globby/index.js:72:41)
at findPageIds (/home/boris/spoco-mce/uiengine-demo/node_modules/@uiengine/core/src/page.js:57:27)
at Object.fetchAll (/home/boris/spoco-mce/uiengine-demo/node_modules/@uiengine/core/src/page.js:67:25)
at Object.generate (/home/boris/spoco-mce/uiengine-demo/node_modules/@uiengine/core/src/core.js:68:29)
at

@dennisreimann
Copy link
Owner

Thanks, I had to dig a bit, but it seems to be related to a recent change in a dependencies dependency, which has been published yesterday: kevva/dir-glob#12

For now I'd rather fix this by adding "dir-glob": "2.0.0" to the devDependencies, as I hope they fix the issue on their end.

Does this work for you?

@dennisreimann
Copy link
Owner

Just saw that this has been already fixed in our dependency already: sindresorhus/globby#99

I'll try to publish an updated UIengine version this weekend, for now you can circumvent the issue as described above.

Thanks for reporting!

@dennisreimann
Copy link
Owner

I published the 2.0.0-beta.0 which should fix the issue.

@bghmarmalade
Copy link
Author

Working now, thanks.

@dennisreimann
Copy link
Owner

Alright! Let me know if you encounter any more troubles. I‘m currently finishing up the 2.0 release and appreciate feedback :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants