这是indexloc提供的服务,不要输入任何密码
Skip to content

ENOENT: no such file or directory when running npm install on kitchen sink example #425

@juanpasolano

Description

@juanpasolano

What version of Turborepo are you using?

1.0.23

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Mac

Describe the Bug

I'm simply running npm install on your kitchen-sink example and it gives me this error.

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /project-path/node_modules/scripts/node_modules/.bin/jest
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/project-path/node_modules/scripts/node_modules/.bin/jest'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

The error does not occur on the basic nor the design-system example folders.

Expected Behavior

Npm installs correctly

To Reproduce

I cloned your repo and runned npm install on the kitchen sink example.
I tried this with.
node -v 14.17.1 npm 8.3.0.
And also node -v 16.13.1 npm 8.3.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: examplesImprovements or additions to exampleskind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions