Skip to content

When automatic deploy, 'Cannot find module' error occurs #1

@Gs1TestTeam

Description

@Gs1TestTeam
   ERROR in src/app/gs1-ui-show-logo.component.ts(2,33): error TS2307: Cannot find module './GS1UIShowLogoIF'.
   src/app/gs1-ui-show-footer.component.ts(2,33): error TS2307: Cannot find module './GS1UIShowFooterIF'.
   src/app/gs1-ui-show-navigation.component.ts(2,37): error TS2307: Cannot find module './GS1UIShowNavigationIF'.
   src/app/gs1-ui-show-chart.component.ts(4,34): error TS2307: Cannot find module './GS1UIShowChartIF'.
   src/app/gs1-ui-show-table.component.ts(2,34): error TS2307: Cannot find module './GS1UIShowTableIF'.
   src/app/app.module.ts(29,33): error TS2307: Cannot find module './GS1UIShowLogoIF'.
   src/app/app.module.ts(30,34): error TS2307: Cannot find module './GS1UIShowFooterIF'.
   src/app/app.module.ts(31,39): error TS2307: Cannot find module './GS1UIShowNavigationIF'.
   src/app/app.module.ts(32,34): error TS2307: Cannot find module './GS1UIShowChartIF'.
   src/app/app.module.ts(33,34): error TS2307: Cannot find module './GS1UIShowTableIF'.
   
   npm ERR! code ELIFECYCLE
   npm ERR! errno 1
   npm ERR! gs1-angular-prototype@0.0.0 postinstall: `ng build --prod`
   npm ERR! Exit status 1
   npm ERR!
   npm ERR! Failed at the gs1-angular-prototype@0.0.0 postinstall 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!     /tmp/npmcache.dYS2x/_logs/2018-08-29T13_41_28_227Z-debug.log

-----> Build failed

   We're sorry this build is failing! You can troubleshoot common issues here:
   https://devcenter.heroku.com/articles/troubleshooting-node-deploys
   
   Some possible problems:
   
   - Node version not specified in package.json
   https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version
   
   - A module may be missing from 'dependencies' in package.json
   https://devcenter.heroku.com/articles/troubleshooting-node-deploys#ensure-you-aren-t-relying-on-untracked-dependencies

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