i just want to install vue via cli
and this error shows up
Module build failed (from ./node_modules/eslint-loader/index.js)
Related
failed to load config from /Users/dev.coder/VueQuizApp/vite.config.js
error when starting dev server:
Error: Cannot find module 'node:url'
Require stack:
need a solution for above problem
Getting error while running npm run dev
Laravel: 9.19
Vuejs: 2.6
Laravel-mix:6.0.12
Thanks in advance:)
Error:
ERROR in ./resources/sass/app/app.scss
Module build failed (from ./node_modules/laravel-mix/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '../../../node_modules/bootstrap-sass/assets/stylesheets/fonts/bootstrap/glyphicons-halflings-regular.eot' in '/var/www/html/project-name/resources/sass/app'
at finishWithoutResolve (/var/www/html/project_name/node_modules/enhanced-resolve/lib/Resolver.js:309:18)
ERROR in ./resources/sass/admin/admin.scss
Module build failed (from ./node_modules/laravel-mix/node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/laravel-mix/node_modules/css-loader/dist/cjs.js):
Error: Can't resolve '../../../node_modules/admin-lte-sass/build/bootstrap/scss/fonts/bootstrap/glyphicons-halflings-regular.eot' in '/var/www/html/project-name/resources/sass/admin'
2 ERRORS in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 4 errors
I am trying to get the basic react native app from https://reactnative.dev/docs/environment-setup running via the CLI, but I am getting errors. I have node, python2 and jdk8 installed. I have all the Android Studio components installed as far as I can tell. I've added the environment variables.
When I run npx react-native init AwesomeProject to initialise the project, I get green ticks next to Downloading Template, Copying Template and Processing Template, but a red cross next to Installing dependencies. The error below that states Error: command failed: npm install. And further down after some warnings it states npm ERR! Unexpected end of JSON input while parsing near '...anbul":"0.4.5","mocha'
And in the initialised app folder there are no node modules.
Any idea how I get this working?
Hi the solution for this is to clear your cache :)
Please run the following command and retry:
npm cache clean --force
I came across a problem installing vueJS with ant-design and after reboot of serve it gave below error:
Error: Cannot find module 'babel-plugin-import' from xxx
My steps were:
Install vueJS project via vue ui
Install dependencies for ant-design via vue ui
Rerun the server
It turns out the ant-design install does overwrite some babel-import-plugin values.
I could resolve it by install of babel-import-plugin again after I did the install of ant-design.
I created a new project with the Vue CLI 3 (configured: babel, pwa, eslint, mocha). Running the test environment using npm run serve works just fine, but I can't build the project for production.
I installed the current version of the Vue CLI 3 and tried creating projects with different configurations. I get the following error message when building the project.
js/app.bb3f3c6e.js from Terser
TypeError: Cannot read property 'minify' of undefined
at minify (/Users/.../untitled/node_modules/terser-webpack-plugin/dist/minify.js:176:23)
at module.exports (/Users/.../untitled/node_modules/terser-webpack-plugin/dist/worker.js:13:40)
at handle (/Users/.../untitled/node_modules/worker-farm/lib/child/index.js:44:8)
at process.<anonymous> (/Users/.../untitled-adventure/node_modules/worker-farm/lib/child/index.js:51:3)
at process.emit (events.js:188:13)
at emit (internal/child_process.js:828:12)
at processTicksAndRejections (internal/process/next_tick.js:76:17)
This is a known issue (vuejs/vue-cli#3407) with the terser 3.16 dependency.
The workaround is to install 3.14 for now:
npm i terser#3.14