Skip to content

ERROR in multi (webpack)-dev-server/client?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-node ./src/main.ts #22

@saboortanha

Description

@saboortanha

Hello Experts,

This project is working fine on the live server.
I have downloaded all folder including mongodb data on a local environment/localhost. now whenever I run this project I am getting this error and unable to fix it. could any one help please. will be highly appreciated.
I am pretty new with angular, NodeJS. this project was built on version 10 of angular and my copy is downloaded from the live server/production server. my current environment is angular 11.0.6 local host. live server is ubuntu, current localhost is windows.
current NodeJS version is v14.15.4
See error message bellow also check the attached to see the structure of the folders/files

ERROR in multi (webpack)-dev-server/client?http://0.0.0.0:0/sockjs-node&sockPath=/sockjs-node ./src/main.ts
Module not found: Error: Can't resolve 'C:\Users\Admin\capos\caposfrontend\caposfrontendmaster\src\main.ts' in 'C:\Users\Admin\capos\caposfrontend\caposfrontendmaster'

ERROR in multi ./src/polyfills.ts
Module not found: Error: Can't resolve 'C:\Users\Admin\capos\caposfrontend\caposfrontendmaster\src\polyfills.ts' in 'C:\Users\Admin\capos\caposfrontend\caposfrontendmaster'

ERROR in multi ./node_modules/@angular/material/prebuilt-themes/indigo-pink.css ./node_modules/ngx-toastr/toastr.css ./node_modules/intl-tel-input/build/css/intlTelInput.css ./src/styles.scss
Module not found: Error: Can't resolve 'C:\Users\Admin\capos\caposfrontend\caposfrontendmaster\src\styles.scss' in 'C:\Users\Admin\capos\caposfrontend\caposfrontendmaster'
ERROR in Must have a source file to refactor.
angularissue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions