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

scriptRunCommand is not defined #2696

Open
neil-ji opened this issue Jul 14, 2023 · 3 comments
Open

scriptRunCommand is not defined #2696

neil-ji opened this issue Jul 14, 2023 · 3 comments

Comments

@neil-ji
Copy link

neil-ji commented Jul 14, 2023

Expected behavior

Init the project successfully.

Actual Behavior

It has throw an error and you can see its details as follow.

√ What would you like to do today? » Upgrade an existing project
√ What would you like to add? » Linting (eslint & prettier), Demoing (storybook), Building (rollup)
√ Would you like to use typescript? » Yes
√ What is the tag name of your web component? ... some-thing

ReferenceError: template:3

    1| {
    2|   "scripts": {
 >> 3|     "storybook": "tsc && <%= scriptRunCommand %> analyze -- --exclude dist && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds -c .storybook/server.mjs\"",
    4|     "storybook:build": "tsc && <%= scriptRunCommand %> analyze -- --exclude dist && build-storybook"
    5|   },
    6|   "devDependencies": {

scriptRunCommand is not defined

Additional context

I just down the command npm init @open-wc and don't know how to find the version of this lib.

@neil-ji
Copy link
Author

neil-ji commented Jul 14, 2023

Could any one give me some help or advice?

@vid
Copy link

vid commented Oct 2, 2023

I was able to use npm init @open-wc last week, but now I'm seeing this too. Weird.

@neil-ji
Copy link
Author

neil-ji commented Oct 3, 2023

I was able to use npm init @open-wc last week, but now I'm seeing this too. Weird.

Yes, it is weird and I don't have any clue about it even right now.
I have gave up more trying about this lib. So many disappointment...

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