Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when try to run serve #27

Closed
diorz38 opened this issue Sep 25, 2021 · 1 comment
Closed

error when try to run serve #27

diorz38 opened this issue Sep 25, 2021 · 1 comment

Comments

@diorz38
Copy link

diorz38 commented Sep 25, 2021

Step:

  • clone repo
  • D:\webapp\ej2-vue-samples-master>npm run serve
> ej2-vue-samples@19.2.44 serve D:\webapp\ej2-vue-samples-master
> node --max_old_space_size=8192 node_modules/@vue/cli-service/bin/vue-cli-service.js serve

 WARN  "baseUrl" option in vue.config.js is deprecated now, please use "publicPath" instead.
 INFO  Starting development server...
Starting type checking service...
Using 1 worker with 2048MB memory limit
98% after emitting SizeLimitsPlugin
 ERROR  Failed to compile with 2 errors                                                                                                                                                                                                                                                                            3:50:57 PM

These relative modules were not found:

* ./common/samplelist in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--13-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=ts&
* ./router.config in ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/ts-loader??ref--13-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=ts&
Type checking in progress...
ERROR in D:/webapp/ej2-vue-samples-master/src/App.vue
411:30 Cannot find module './common/samplelist'.
    409 | import * as enCultureData from './common/cldr-data/main/fr-CH/all.json';
    410 | import * as chinaCultureData from './common/cldr-data/main/zh/all.json';
  > 411 | import * as samplesJSON from './common/samplelist';
        |                              ^
    412 | import { ListView, ListBase } from '@syncfusion/ej2-lists';
    413 | // import * as elasticlunr from './common/lib/elasticlunr';
    414 | // import * as hljs from './common/lib/highlightjs';
ERROR in D:/webapp/ej2-vue-samples-master/src/App.vue
417:20 Cannot find module './router.config'.
    415 | let searchJson: any = require('./common/search-index.json');
    416 | import { Controls, MyWindow, DestroyMethod, Samples } from './model';
  > 417 | import routes from './router.config';
        |                    ^
    418 | // import { setTimeout } from "timers";
    419 |
    420 | loadCldr(numberingSystems, chinaCultureData, enCultureData, swissCultureDate, currencyData, deCultureData, arCultureData);
Version: typescript 3.6.2
Time: 118376ms
@Saranya13
Copy link
Contributor

Hi @diorz38 ,

Sorry for the inconvenience.

We have checked your query and we request you to run the “gulp build” command before running “npm run serve”.

Regards,
Saranya M

@diorz38 diorz38 closed this as completed Oct 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants