kappnav / issues

kAppNav global issues
0 stars 0 forks source link

NPM build break: new carbon-addons-cloud v3 does not work with carbon-components v9 #118

Closed kinueng closed 4 years ago

kinueng commented 4 years ago
ERROR in ./scss/common.scss
Module build failed: ModuleBuildError: Module build failed: 
@import 'carbon-components/scss/globals/scss/colors';
^
      File to import not found or unreadable: carbon-components/scss/globals/scss/colors.
      in /app/node_modules/carbon-addons-cloud/scss/components/card/_card.scss (line 1, column 1)
    at runLoaders (/app/node_modules/webpack/lib/NormalModule.js:195:19)
    at /app/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /app/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.asyncSassJobQueue.push [as callback] (/app/node_modules/sass-loader/lib/loader.js:55:13)
    at Object.done [as callback] (/app/node_modules/neo-async/async.js:8067:18)
    at options.error (/app/node_modules/node-sass/lib/index.js:294:32)
 @ multi ./scss/common.scss
ERROR in ./scss/common.scss
Module build failed: ModuleBuildError: Module build failed: 
@import 'carbon-components/scss/globals/scss/colors';
^
      File to import not found or unreadable: carbon-components/scss/globals/scss/colors.
      in /app/node_modules/carbon-addons-cloud/scss/components/card/_card.scss (line 1, column 1)
    at runLoaders (/app/node_modules/webpack/lib/NormalModule.js:195:19)
    at /app/node_modules/loader-runner/lib/LoaderRunner.js:367:11
    at /app/node_modules/loader-runner/lib/LoaderRunner.js:233:18
    at context.callback (/app/node_modules/loader-runner/lib/LoaderRunner.js:111:13)
    at Object.asyncSassJobQueue.push [as callback] (/app/node_modules/sass-loader/lib/loader.js:55:13)
    at Object.done [as callback] (/app/node_modules/neo-async/async.js:8067:18)
    at options.error (/app/node_modules/node-sass/lib/index.js:294:32)
 @ ./scss/common.scss
 @ multi ./scss/common.scss
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! kappnav@1.0.0 build:production: `npm run build:dll:production && cross-env BUILD_ENV=production webpack`
npm ERR! Exit status 2
npm ERR! 
npm ERR! Failed at the kappnav@1.0.0 build:production 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!     /root/.npm/_logs/2020-02-06T20_05_18_497Z-debug.log