[vite:asset] Could not load /builds/mojitok/mojitok-cloud/sdk/web/mojitok-uikit-monorepo/packages/uikit/src/assets/svg/imagefail.svg (imported by src/component/common/MojitokPicture.tsx): ENOENT: no such file or directory, open '/builds/mojitok/mojitok-cloud/sdk/web/mojitok-uikit-monorepo/packages/uikit/src/assets/svg/imagefail.svg'
1npm ERR! code ENEEDAUTH
2npm ERR! need auth This command requires you to be logged in to <https://registry.npmjs.org/>
3npm ERR! need auth You need to authorize this machine using `npm adduser`
4
5npm ERR! A complete log of this run can be found in:
6npm ERR! /root/.npm/_logs/2022-09-14T06_23_57_275Z-debug-0.logCleaning up project directory and file based variablesERROR: Job failed: exit code 1
1npm WARN ignoring workspace config at /builds/mojitok/mojitok-cloud/sdk/web/mojitok-uikit-monorepo/packages/react-uikit/.npmrc
1
2npm ERR! code E403
3npm ERR! 403 403 Forbidden - PUT <https://gitlab.com/api/v4/projects/39229690/packages/npm/@mojitok%2freact-uikit>
4npm ERR! 403 In most cases, you or one of your dependencies are requesting
5npm ERR! 403 a package version that is forbidden by your security policy, or
6npm ERR! 403 on a server you do not have access to.
7npm ERR! A complete log of this run can be found in:
8npm ERR! /root/.npm/_logs/2022-09-14T08_36_17_459Z-debug-0.log
1npm ERR! code E404
2npm ERR! 404 Not Found - PUT <https://gitlab.com/api/v4/projects/39229798/packages/npm/@mojitok%2freact-uikit>
3npm ERR! 404
4npm ERR! 404 '@mojitok/react-uikit@1.1.0' is not in this registry.
5npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
6npm ERR! 404
7npm ERR! 404 Note that you can also install from a
8npm ERR! 404 tarball, folder, http url, or git url.
Ex)
1 "publishConfig": {
2 "@mojitok:registry": "<https://gitlab.com/api/v4/projects/39229798/packages/npm/>"
3 },
또한 다운받을때도 404 에러가 나왔는데 @mojitok/react-uikit 내에서 @mojitok/uikit
를 dependency 로 지정해서 react-uikit 를 설치할때 mojitok/uikit 를 찾아서 생기는 문제였다.
npm error 는 자세해서 자세히 보면 금방 해결했을것 같다.
추가로 자세한 로그를 보면
135 http fetch GET 404 <https://gitlab.com/api/v4/packages/npm/@mojitok%2freact-uikit> 441ms (cache skip)
236 http fetch GET 404 <https://gitlab.com/api/v4/packages/npm/@mojitok%2freact-uikit> 328ms (cache skip)
337 silly placeDep ROOT @mojitok/react-uikit@ REPLACE for: vite-npm@0.0.0 want: ^1.1.0
438 timing idealTree:#root Completed in 778ms
539 timing idealTree:node_modules/@mojitok/react-uikit Completed in 0ms
640 timing idealTree:buildDeps Completed in 780ms
741 timing idealTree:fixDepFlags Completed in 1ms
842 timing idealTree Completed in 838ms
943 timing command:i Completed in 851ms
1044 verbose stack HttpErrorGeneral: 404 Not Found - GET <https://gitlab.com/api/v4/packages/npm/@mojitok%2freact-uikit>