https://0strich.tistory.com/40
재앙이다 진짜 킹받아....
다하고 이제 배포만 하면됨 근데 역시 에러가 안뜨면 안되는거임
45 verbose stack Error: invalid semver:
45 verbose stack at patchManifest (/opt/homebrew/lib/node_modules/npm/node_modules/libnpmpublish/lib/publish.js:85:7)
45 verbose stack at publish (/opt/homebrew/lib/node_modules/npm/node_modules/libnpmpublish/lib/publish.js:29:23)
45 verbose stack at /opt/homebrew/lib/node_modules/npm/lib/commands/publish.js:120:46
45 verbose stack at otplease (/opt/homebrew/lib/node_modules/npm/lib/utils/otplease.js:3:18)
45 verbose stack at Publish.exec (/opt/homebrew/lib/node_modules/npm/lib/commands/publish.js:120:13)
45 verbose stack at async module.exports (/opt/homebrew/lib/node_modules/npm/lib/cli.js:78:5)
46 verbose cwd 어쩌고
47 verbose Darwin 21.6.0
48 verbose node v18.7.0
49 verbose npm v8.15.0
50 error code EBADSEMVER
51 error invalid semver:
52 verbose exit 1
53 timing npm Completed in 310ms
54 verbose code 1
55 error A complete log of this run can be found in:
55 error /Users/내컴퓨터/.npm/_logs/2022-10-13T09_25_50_920Z-debug-0.log
이건 package.json에서 이름하고 버전 안바꿔서 그런거같음
바꾸면 해결완