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

cycle-scripts-ts-webpack fails on Windows 10 bash #86

Open
xxzefgh opened this issue Mar 6, 2017 · 4 comments
Open

cycle-scripts-ts-webpack fails on Windows 10 bash #86

xxzefgh opened this issue Mar 6, 2017 · 4 comments

Comments

@xxzefgh
Copy link

xxzefgh commented Mar 6, 2017

Code to reproduce the issue:
create-cycle-app cycle-ts --flavor cycle-scripts-ts-webpack

Expected behavior:
Successfully finish initialization

Actual behavior:

/mnt/c/Users/brunjick/Code/cycle-ts/node_modules/cycle-scripts-ts-webpack/scripts/init.js:63
      throw new Error('Unsupported stream library: ' + streamLib)
      ^

Error: Unsupported stream library: false
    at replacements (/mnt/c/Users/brunjick/Code/cycle-ts/node_modules/cycle-scripts-ts-webpack/scripts/ini
t.js:63:13)
    at module.exports (/mnt/c/Users/brunjick/Code/cycle-ts/node_modules/cycle-scripts-ts-webpack/scripts/i
nit.js:166:14)
    at ChildProcess.<anonymous> (/usr/lib/node_modules/create-cycle-app/src/installScripts.js:48:5)
    at emitTwo (events.js:106:13)
    at ChildProcess.emit (events.js:192:7)
    at maybeClose (internal/child_process.js:890:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

Versions of packages used:
0.3.2

@nickbalestra
Copy link
Collaborator

Thanks @brunjick for reporting this.
The 'cycle-scripts-ts-webpack' flavor is deprecated. Have you tried with cycle-scripts-one-fits-all instead?

@xxzefgh
Copy link
Author

xxzefgh commented Mar 6, 2017

@nickbalestra Thanks, it works 😊 duckduckgo sent me to that package when I searched create-cycle-app typescript. google does better job there.
maybe it's a good idea to include deprecated warning in npm package readme?

@nickbalestra
Copy link
Collaborator

Yes that is a good idea. I'll keep this issue open for that. Thanks again

@jvanbruegge
Copy link
Collaborator

better to use npm deprecate
would do it myself, but I have only publishing rights for the one-fits-all flavor

perjerz pushed a commit to perjerz/create-cycle-app that referenced this issue Nov 12, 2018
Working with HTTP Streams with Cycle.Js - tutorial
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants