warning: "No name was provided for external module..." #4
Comments
this StackOverflow question: https://stackoverflow.com/a/53521270/22944 says add |
getting error trying to build WARNING in ../songhay-ng-workspace/songhay/node_modules/@angular/core/fesm5/core.js 18260:15-36
Critical dependency: the request of a dependency is an expression
WARNING in ../songhay-ng-workspace/songhay/node_modules/@angular/core/fesm5/core.js 18272:15-102
Critical dependency: the request of a dependency is an expression
ERROR in ../songhay-ng-workspace/songhay/dist/songhay/player-video-you-tube/fesm5/songhay-player-video-you-tube.js
Module not found: Error: Can't resolve '@songhay/core' in '..\songhay-ng-workspace\songhay\dist\songhay\player-video-you-tube\fesm5' |
last change caused this error: > songhay@0.0.0 build:player-video-you-tube ..\sourceRoot\songhay-ng-workspace\songhay
> ng build @songhay/player-video-you-tube
Building Angular Package
Building entry point '@songhay/player-video-you-tube'
Compiling TypeScript sources through ngc
Bundling to FESM2015
Bundling to FESM5
Bundling to UMD
Minifying UMD bundle
Side effects in initialization of unused variable lb [0:826,20]
Copying declaration files
Writing package metadata
Distributing npm packages with 'dependencies' is not recommended. Please consider adding songhay-core to 'peerDependencies' or remove it from 'dependencies'.
BUILD ERROR
Dependency songhay-core must be explicitly whitelisted.
Error: Dependency songhay-core must be explicitly whitelisted.
at Object.keys.forEach.dep (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:125:23)
at Array.forEach (<anonymous>)
at checkNonPeerDependencies (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:119:44)
at ..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:93:13
at Generator.next (<anonymous>)
at ..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:7:71
at new Promise (<anonymous>)
at __awaiter (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:3:12) at writePackageJson (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:74:12)
at Object.<anonymous> (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:41:11)
Dependency songhay-core must be explicitly whitelisted.
Error: Dependency songhay-core must be explicitly whitelisted.
at Object.keys.forEach.dep (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:125:23)
at Array.forEach (<anonymous>)
at checkNonPeerDependencies (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:119:44)
at ..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:93:13
at Generator.next (<anonymous>)
at ..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:7:71
at new Promise (<anonymous>)
at __awaiter (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:3:12) at writePackageJson (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:74:12)
at Object.<anonymous> (..\sourceRoot\songhay-ng-workspace\songhay\node_modules\ng-packagr\lib\ng-v5\entry-point\write-package.transform.js:41:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! songhay@0.0.0 build:player-video-you-tube: `ng build @songhay/player-video-you-tube`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the songhay@0.0.0 build:player-video-you-tube 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! \AppData\Roaming\npm-cache\_logs\2019-02-19T03_54_22_578Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! songhay@0.0.0 build: `npm run build:core && npm run build:player-video-you-tube`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the songhay@0.0.0 build 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! \AppData\Roaming\npm-cache\_logs\2019-02-19T03_54_22_614Z-debug.log
The terminal process terminated with exit code: 1 |
adding |
i am seriously considering using
|
before i try
|
this issue is effectively resolved here: BryanWilhite/Songhay.Dashboard#48 |
The text was updated successfully, but these errors were encountered: