cannot find loader on line 10 in router/index.ts:
const Home = () => import('../core/home/home.vue');
Motivation for or Use Case
Reproduce the error
jhipster --blueprint vuejsmvn
Related issues
Suggest a Fix
What made the problems disappear:
npm i --save-dev acorn
change lazy loading to normal loading:
import Home from '../core/home/home.vue';
import Error from '../core/error/error.vue';
import JhiConfigurationComponent from '../admin/configuration/configuration.vue';
import JhiDocsComponent from '../admin/docs/docs.vue';
import JhiHealthComponent from '../admin/health/health.vue';
import JhiLogsComponent from '../admin/logs/logs.vue';
import JhiAuditsComponent from '../admin/audits/audits.vue';
import JhiMetricsComponent from '../admin/metrics/metrics.vue';
import JhiTrackerComponent from '../admin/tracker/tracker.vue';
Overview of the issue
cannot find module 'acorn'
cannot find loader on line 10 in router/index.ts:
const Home = () => import('../core/home/home.vue');
Motivation for or Use Case
Reproduce the error
jhipster --blueprint vuejs
mvn
Related issues
Suggest a Fix
What made the problems disappear:
npm i --save-dev acorn
change lazy loading to normal loading:
JHipster Version(s)
6.8.0
JHipster configuration
.yo-rc.json
Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryBrowsers and Operating System