Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Blendid init seems to not work correctly on latest version (4.4.1) #527

Closed
maoueh opened this issue Jan 17, 2018 · 11 comments · Fixed by #531
Closed

Blendid init seems to not work correctly on latest version (4.4.1) #527

maoueh opened this issue Jan 17, 2018 · 11 comments · Fixed by #531
Assignees
Labels

Comments

@maoueh
Copy link
Contributor

maoueh commented Jan 17, 2018

$ mkdir /tmp/blendid-test && cd /tmp/blendid-test
$ yarn init -y
$ yarn add --dev blendid
# Note that in latest Yarn version, the `--` is not required, `README.md` should be updated
$ yarn run blendid -- init 
yarn run v1.4.0

$ /private/tmp/blendid-test/node_modules/.bin/blendid init
[09:35:33] Working directory changed to /private/tmp/blendid-test/node_modules/blendid/gulpfile.js
[09:35:35] Using gulpfile /private/tmp/blendid-test/node_modules/blendid/gulpfile.js/index.js
[09:35:35] Starting 'init'...
[09:35:35] Generating default Blendid project files

To start the dev server:

yarn run blendid

[09:35:35] Finished 'init' after 16 ms
✨  Done in 3.05s.

$ ls
node_modules package.json yarn.lock

Not sure what's wrong however. Specific to my machine? If someone could try on their end, would be appreciated :)

@maoueh maoueh changed the title Blendid init seems to not work correctly on latest version Blendid init seems to not work correctly on latest version (4.4.1) Jan 17, 2018
@kferran
Copy link

kferran commented Jan 17, 2018

Running into a similar issue when trying to run yarn run blendid.
image

Issue seems to show up in version 4.4.0 as well. I reverted back to version 4.3.1

@maoueh
Copy link
Contributor Author

maoueh commented Jan 17, 2018

High chances it's not related to the init behavior problem described in this issue. Can you open a new issue?

@benjtinsley
Copy link
Contributor

i encountered this yesterday and seemingly related to gulp.dest merge-streams or something else entirely. i'll take a crack at this and hopefully have something soon, in the meantime @kferran 's solution is the best for anyone else with this problem: install version 4.3.1 to ensure your new projects succeed

@benjtinsley
Copy link
Contributor

@maoueh @kferran i released 4.4.2 which addresses this. if you encounter any other problems, let me know!

@maoueh
Copy link
Contributor Author

maoueh commented Jan 18, 2018

@benjtinsley I confirm init works again with 4.4.2. But @kferran should confirm for his own use case as I really think his problem is unrelated to the init problem. We will know soon :)

@kferran
Copy link

kferran commented Jan 18, 2018

Still running into the same issue on my end after upgrading to version 4.4.2.
http://prntscr.com/i2drtz

@maoueh
Copy link
Contributor Author

maoueh commented Jan 18, 2018

@kferran Please open a new issue so we can track there. It might be related to windows. I have a Windows machine at home, if I have time, I will try to test it here. I'm wondering if my bin fix (#471) might be the culprit here.

@benjtinsley
Copy link
Contributor

interesting. @kferran when you run yarn run blendid -- init or yarn run blendid you are doing so from the kferran\website\app\ directory? it is strange that it is looking for the package.json file within node_modules\

@benjtinsley
Copy link
Contributor

benjtinsley commented Jan 18, 2018

yes what @maoueh said. i think we can track this better in its own issue

@kferran
Copy link

kferran commented Jan 18, 2018 via email

@kferran
Copy link

kferran commented Jan 19, 2018

Moved the issue I am having to #532

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

Successfully merging a pull request may close this issue.

3 participants