-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): better module not found handling #7079
Conversation
Failed building seems related to actions/cache#208 |
However, it is more a DX improvement, really cool idea @clarkdo 👍 I will update the message and also add a check for Update: Double checking issue, The build phase requires I think we need to update programmatic usage to use new Update: Error when using Error for programmatic users: |
Codecov Report
@@ Coverage Diff @@
## dev #7079 +/- ##
=========================================
+ Coverage 62.7% 62.74% +0.03%
=========================================
Files 84 84
Lines 3376 3390 +14
Branches 920 924 +4
=========================================
+ Hits 2117 2127 +10
- Misses 1013 1016 +3
- Partials 246 247 +1
Continue to review full report at Codecov.
|
@pi0 would you all consider raising an exception in the event that this happens, could even be a configuration? A good example,
|
@Austio Error is thrown not found + not not found unless using programmatic mode. Would you please make a simple repo for your example? |
Types of changes
Description
Fix nuxt/eslint-plugin-nuxt#87 fix nuxt/create-nuxt-app#423
If user installed dependecities with prod flag like
yarn install --production
orNODE_ENV=production yarn install
, building (yarn nuxt build) will failed if buildModules exists indevDependecies
.This pr is checking the module existence and also print an info message for avoding unpected installation from user side.
@pi0 The info message is my own language, please feel free to make it better.
Checklist: