Skip to content

[dev] netlify dev error #541

@RishabhTayal

Description

@RishabhTayal

- Do you want to request a feature or report a bug?
bug

- What is the current behavior?
getting error when running netlify dev

- If the current behavior is a bug, please provide the steps to reproduce.
created a brand new project using the deploy to netlify button. Installed netlify cli using npm install netlify-cli -g

- What is the expected behavior?
run dev server

- Error

◈ Netlify Dev ◈
◈ Starting Netlify Dev with create-react-app
◈ Function builder netlify-lambda detected: Running npm script build:lambda
 ›   Warning: ◈ This is a beta feature, please give us feedback on how to improve at https://github.com/netlify/cli/
yarn run v1.17.3
$ react-scripts start
Error: Command failed with exit code 1 (EPERM): yarn run build:lambda
    at makeError (/usr/local/lib/node_modules/netlify-cli/node_modules/execa/lib/error.js:58:11)
    at handlePromise (/usr/local/lib/node_modules/netlify-cli/node_modules/execa/index.js:112:26)

- Local Environment Information
Paste the results of netlify status --verbose here

──────────────────────┐
 Current Netlify User │
──────────────────────┘
Name:  Rishabh Tayal
Teams: 
  Rishabh Tayal's team: Collaborator

────────────────────┐
 Environment Info   │
────────────────────┘

  System:
    OS: macOS 10.15
    CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
  Binaries:
    Node: 10.16.3 - /usr/local/bin/node
    Yarn: 1.17.3 - /usr/local/bin/yarn
    npm: 6.11.3 - /usr/local/bin/npm
  Browsers:
    Chrome: 76.0.3809.132
    Safari: 13.0

────────────────────┐
 Netlify Site Info  │
────────────────────┘
Current site: brave-agnesi-ba6ba2
Netlify TOML: /project/netlify.toml
Admin URL:    https://app.netlify.com/sites/brave-agnesi-ba6ba2
Site URL:     https://brave-agnesi-ba6ba2.netlify.com
Site Id:      aabafbd2-136e-4492-817a-102b7ccc2658

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions