![]() ![]() (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index.js:7459:1)Īt _webpack_require_ (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index.js:24:31)Īt startup (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index. Yarn Workspaces is a feature that allows users to install dependencies from multiple package.json files in subfolders of a single root package.json file, all in. When this package is installed globally, that file will be linked where global bins go so it is available to run by name. npm makes this pretty easy (in fact, it uses this feature to install the 'npm' executable.) To use this, supply a bin field in your package.json which is a map of command name to local file name. The stack trace is as follows: Error: ENOENT: no such file or directory, open '/home/runner/work/govuk-react/govuk-react/packages/example-application/package-lock.json'Īt .fromFileSync (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index.js:17725:54)Īt lockHash (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index.js:6796:26)Īt getNpmCache (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index.js:6806:16)Īt restoreCachedNpm (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index.js:6853:21)Īt installMaybe (/home/runner/work/_actions/cypress-io/github-action/v2/dist/index.js:7434:5)Īt Object. A lot of packages have one or more executable files that they'd like to install into the PATH. ![]() My workflow config is as follows: - uses: packages/example-application package.json, Configures npm package dependencies that are available to all projects in the workspace. ![]() It seems that restoreCachedNpm is trying to find a lock file in one of the workspaces, and throwing an error when it can’t find it. For details, see Angular Workspace Configuration. This action worked with lerna + yarn workspaces, but is failing after switching to npm workspaces. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |