Comments (6)
This is an issue of buildModules
, I'll discuss with team and fingure out a fix.
from eslint-plugin-nuxt.
Thanks for the reporting, may I ask if you’re using yarn install —production or NODE_ENV=production when you install?
I think this is an issue from create-nuxt-app, I’ll propose a fix shortly, as a quick fix you can move it to dependencies as you already did or not set production env/flag before install.
from eslint-plugin-nuxt.
Hi, thanks for the answer. Yes i am setting NODE_ENV: 'production' in the environment. I have tryed to set it to 'development' just to try it out and the problem was still there. I am using the recommended app.yaml file from nuxt documentation, which includes the NODE_ENV: 'production' variable: https://nuxtjs.org/faq/appengine-deployment/
from eslint-plugin-nuxt.
Should i move this issue to the create-nuxt-app repo?
from eslint-plugin-nuxt.
@Treen11 development should be used before you install the dependencies (like: yarn install
or npm install
) and build nuxt app, not at gae runtime.
from eslint-plugin-nuxt.
I'm having the same issue with [email protected] - it seems like buildModules are included in the request when initiating in production mode.
@nuxtjs/eslint
is a devDependency and i have the module in my buildModules
section
This is my install script cross-env NODE_ENV=production yarn install
Update
I got around this problem with the following snippet in server/index.js
:
if (!config.dev) {
config.buildModules = [];
}
from eslint-plugin-nuxt.
Related Issues (20)
- Rule: validate export keys in Vuex files
- Which packages are necessary when using ESLint and Nuxt? HOT 1
- eslint-plugin-vueにVue3のバージョンがあるので、追加する HOT 2
- 'error clear' reported on each template closing tag in all components HOT 2
- Rule: vue/comment-directive HOT 12
- Missing peer dependency `eslint`
- Rule: don't use timers
- Action Required: Fix Renovate Configuration
- Add Core Web Vital rules to `plugin:nuxt/recommended` (RFC)
- Dependency Dashboard
- nuxt/eslint-plugin-nuxt vs nuxt/eslint-config and nuxt3 globals HOT 22
- Rule: Warn for deprecated fetch method
- Disable `vue/multi-word-component-names`
- Vue 2.7 Composition API Support?
- `ref` is not defined Nuxt 3 HOT 2
- detect using route path as key to asyncData/fetch HOT 1
- Auto-imports marked as "is not defined" in Nuxt 3 .js files HOT 1
- nuxt/require-func-head doesnt work with factories
- nuxt/no-this-in-fetch-data is now ok
- Rule: no relative import paths / enforce aliases
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-nuxt.