Open1
LIFF
PS C:\Users\user\Desktop\line-liff-v2-starter-master> npm ci
npm ERR! The `npm ci` command can only install with an existing package-lock.json or
npm ERR! npm-shrinkwrap.json with lockfileVersion >= 1. Run an install with npm@5 or
npm ERR! later to generate a package-lock.json file, then try again.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2021-12-18T12_43_49_246Z-debug.log
npm install
を実行して、package-lock.jsonを作成してから
npm ci
お次は、
PS C:\Users\user\Desktop\line-liff-v2-starter-master> npm start
npm ERR! Missing script: "start"
npm ERR!
npm ERR! Did you mean one of these?
npm ERR! npm star # Mark your favorite packages
npm ERR! npm stars # View packages marked as favorites
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Local\npm-cache\_logs\2021-12-18T12_49_21_546Z-debug.log
package.jsonの中に、
"start":"node server.js"
を追加でエラー解消