-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The following results in failed tests and corruption of the repository:
git clone git@github.com:samatechtw/nx-vue3-vite
cd nx-vue3-vite
pnpm i
pnpm run e2e
Installing and running with npm
instead of pnpm
works as intended.
It was fixed by adding this to each E2E test:
beforeEach(() => {
ensureNxProject('nx-vue3-vite', 'dist/packages/vue3-vite');
});
However, ensureNxProject
fails with message Command failed: pnpm install --no-frozen-lockfile
. It may be related to this issue. The current workaround is to use NPM in CI, which works fine. Locally, it is also possible to run tests directly, e.g. ./node_modules/.bin/nx e2e vue3-vite-e2e --test-file e2e/vue3-vite-e2e/tests/vue3-vite.spec.ts
.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working