0👍
Possible reasons:
-
trying to import an object from a module noy installed in your
project directory. -
importing something from an outdated package.
-
pointing to a file that does not exist.
As far as i can see the dist directory is not in your directory, so install the package which create the missing dist directory.
Either use:
npm install messagecomponent
or
yarn add messagecomponent
If you still get the error then:
-
Delete modules:
rm -rf node_modules
-
Delete package lock:
rm -f package-lock.json
-
Clean up NPM cache:
npm cache clean –force
-
Reinstall all packages:
npm install
- [Vuejs]-Card Component of Core UI doesn't show up in Print Preview
- [Vuejs]-Get param on another page and edit : Vue, Axios, Django, Python
Source:stackexchange.com