mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-29 02:28:31 -06:00
Fixes #4694 Fixes #4695 Fix the "ENOENT: no such file or directory … debugnode_module/sms/index.js" error. The problem are caused by 2 issues: 1. The `lint-staged` packages introduced an old version of debug, causing node_module deduping, thus changing the node_module layout 2. The dependencies required in the cached `lint` module is no longer at its originial position, thus the "ENOENT" error. This change still does not fix the PNPM 4 issue, considering its smaller user base, we'll fix it later.
@vue/cli-ui
Local development
Before starting a local cli-ui instance, consider following the contributing guide in order to download all required dependencies of vue-cli's packages.
Just after, you should build once then serve @vue/cli-ui-addon-webpack by running:
cd ../cli-ui-addon-webpack
yarn build # just do once
yarn serve
Then you start the ui server (based on Apollo):
cd ../cli-ui
yarn run apollo
And then in another terminal, you should serve the ui web app:
yarn run serve
Testing
For running E2E tests, you just need to run:
yarn run test:e2e
This will open a new Cypress window. You can now run all or specific integration tests.