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

ReferenceError: beep is not defined #13

Closed
otariidae opened this issue Aug 27, 2018 · 1 comment
Closed

ReferenceError: beep is not defined #13

otariidae opened this issue Aug 27, 2018 · 1 comment

Comments

@otariidae
Copy link

When I ran npm init stencil and pressed , I got this error.

? Pick a starter » - Use arrow-keys. Return to submit.

>  ionic-pwa     Everything you need to build fast, production ready PWAs
   app           Minimal starter for building a Stencil app or website
   component     Collection of web components that can be used anywherereadline.js:1032
            throw err;
            ^

ReferenceError: beep is not defined
    at SelectPrompt.bell (C:\Users\<username>\AppData\Roaming\npm-cache\_npx\1412\node_modules\create-stencil\dist\index.js:2:30265)
    at SelectPrompt.up (C:\Users\<username>\AppData\Roaming\npm-cache\_npx\1412\node_modules\create-stencil\dist\index.js:2:31832)
    at ReadStream.n (C:\Users\<username>\AppData\Roaming\npm-cache\_npx\1412\node_modules\create-stencil\dist\index.js:2:29953)
    at ReadStream.emit (events.js:182:13)
    at emitKeys (internal/readline.js:422:14)
    at emitKeys.next (<anonymous>)
    at ReadStream.onData (readline.js:1022:36)
    at ReadStream.emit (events.js:187:15)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)

These lines seem to cause this error.

bell() {
this.out.write(beep);
}

OS: Windows10
Node.js: v10.8.0
npm: 6.2.0

@jthoms1
Copy link
Contributor

jthoms1 commented Sep 6, 2018

This issue was fixed with commit b16ff54.

A new release as published to npm with the fix. Thanks!

@jthoms1 jthoms1 closed this as completed Sep 6, 2018
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

2 participants