Skip to content

package.json dev script is started instead of start #3916

@marekrozmus

Description

@marekrozmus

🐛 bug report

Description of the problem

I've created sandbox for:
https://github.com/sandstreamdev/react-swipeable-list/tree/master/examples

In console it says yarn start but in next line it displays my command from "dev" script

yarn run v1.21.1
$ webpack-dev-server --config webpack.config.dev.js
ℹ 「wds」: Project is running at http://localhost:3000/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /sandbox
ℹ 「wds」: 404s will fallback to /index.html
ℹ 「wdm」: wait until bundle finished: /
✖ 「wdm」: Hash: 9e38753fb8bf64dbc150
Version: webpack 4.42.1

on my local machine yarn starts correct script:

yarn run v1.22.4
$ webpack-dev-server
ℹ 「wds」: Project is running at http://localhost:3000/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /c/_git_/react-swipeable-list/examples
ℹ 「wds」: 404s will fallback to /index.html
ℹ 「wdm」: wait until bundle finished: /
ℹ 「wdm」: Hash: 32c9b8482868aa56b254
Version: webpack 4.42.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions