Answer the question
In order to leave comments, you need to log in
Project in GoLang. Error running npm run dev: This relative module was not found. How to fix?
There is a project on GoLang. When I try to build (npm run dev) I get the following:
> vue-cli-service build --watch
⠼ Building for development...
ERROR Failed to compile with 1 errors 2:17:36 PM
This relative module was not found:
* ./src/main.js in multi ./src/main.js
ERROR Build failed with errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! *****@0.1.0 dev: `vue-cli-service build --watch`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ******@0.1.0 dev 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! /root/.npm/_logs/2020-11-11T11_17_36_444Z-debug.log
error code ELIFECYCLE
21 error errno 1
22 error ******@0.1.0 dev: `vue-cli-service build --watch`
22 error Exit status 1
23 error Failed at the ******@0.1.0 dev script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
eval("!(function webpackMissingModule() { var e = new Error(\"Cannot find module './src/main.js'\"); e.code = 'MODULE_NOT_FOUND'; throw e; }());\n\n\n//# sourceURL=webpack:///multi_./src/main.js?");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question