question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failing to compile because of missing modules

See original GitHub issue

freespeech-master % npm run build

freespeechvue@0.1.0 build /Users/patrick/Downloads/freespeech-master> vue-cli-service build ⠦ Building for production… ERROR Failed to compile with 2 errors 20:44:13

This dependency was not found:

  • !raw-loader!../…/…/README.md in ./node_modules/cache-loader/ dist/cjs.js??ref–12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vuetify-loader/lib/loader.js??ref–18-0!./node_modules/cache-loader/dist/cjs.js??ref–0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/About.vue?vue&type=script&lang=js& To install it, you can run: npm install --save !raw-loader!../… /…/README.md

This relative module was not found:

  • …/…/…/build.json in ./node_modules/cache-loader/dist/cjs.js ??ref–12-0!./node_modules/thread-loader/dist/cjs.js!./node_modu les/babel-loader/lib!./node_modules/vuetify-loader/lib/loader.js ??ref–18-0!./node_modules/cache-loader/dist/cjs.js??ref–0-0!./ node_modules/vue-loader/lib??vue-loader-options!./src/views/Tile Pad.vue?vue&type=script&lang=js& ERROR Build failed with errors. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! freespeechvue@0.1.0 build: vue-cli-service build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the freespeechvue@0.1.0 build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/patrick/.npm/_logs/2020-02-17T19_44_13_385Z-debug.log

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
fatfingers23commented, Feb 17, 2020

If you do npm run serve it should host it at https://localhost:8080, or npm run build builds it to /vueapps/dist folder and you can host that on a web server.

1reaction
paddy-execommented, Feb 17, 2020

That was it. Now it compiled! How do I run it though?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build occasionally fails complains about missing modules but ...
The build often fails complaining about missing modules despite running perfectly fine on localhost. However, if I build it a 2nd or 3rd ......
Read more >
How to fix missing project modules? - Unreal Engine Forums
Now every time I try to open my project it goes like: you have missing modules => failed to compile=>Try rebuilding from source...
Read more >
How to fix "The following module is missing from the file ...
Then go to your admin>>modules, click the Uninstall Tab and uninstall all modules listed there. Some error may occur when uninstalling all at...
Read more >
Typescript module not found error after compilation
I ran into this problem when compiling TS to ES modules with Node 15. Turns out that TS does not add the ".js"...
Read more >
Error when you compile a module or run a procedure in Access
This problem occurs because at least one object library that is referenced or at least one type library that is referenced is missing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found