Skip to content

npm run dev doesn't work? (Windows) #1

@kuworking

Description

@kuworking

Trying to clone and run the repo in a Windows environment, and changing the scripts with cross-env (yarn add -D cross-env)

    "dev": "cross-env ELEVENTY_EXPERIMENTAL=true eleventy --serve",
    "build": "cross-env ELEVENTY_EXPERIMENTAL=true eleventy",

Then with npm run dev it just doesn't work, no error messages, simply the terminal ends the process instead of being alive

PS C:\...\eleventy-react> npm run dev

> eleventy-react@0.2.2 dev C:\...\eleventy-react
> cross-env ELEVENTY_EXPERIMENTAL=true eleventy --serve

Warning: Configuration API `addExtension` is an experimental Eleventy feature with an unstable API. Be careful!
PS C:\...\eleventy-react> 

EDIT: Also build doesn't seem to do anything

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions