๊ธฐ๋ฅ ์ ์์ฒญํ๊ฑฐ๋ ๋ฒ๊ทธ๋ฅผ๋ณด๊ณ ํ์๊ฒ ์ต๋๊น?
๋ฒ๊ทธ.
ํ์ฌ ํ๋์ ๋ฌด์์ ๋๊น?
yarn init
๋ช
๋ น์ ์ฌ์ฉํ์ฌ ์ด๊ธฐํํ๋ ค๊ณ ํ๋ฉด entry point (index.js)
์ง๋ฌธ ๋ค์ ๋ค์ ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
error An unexpected error occurred: "Cannot convert object to primitive value".
node.js, yarn ๋ฐ ์ด์ ์ฒด์ ๋ฒ์ ์ ์ธ๊ธํ์ญ์์ค.
node.js : v6.9.2
์์ฌ : v0.17.10
๋ฐฐํฌ์ ID : Ubuntu
์ค๋ช
: Ubuntu 16.04.1 LTS
๋ฆด๋ฆฌ์ค : 16.04
์ํธ๋ช
: xenial
yarn-error.log ํ์ผ์์ ์ถ์ ํ์ญ์์ค.
Arguments:
/usr/bin/nodejs /usr/share/yarn/bin/yarn.js init
PATH:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
Yarn version:
0.17.10
Node version:
6.9.2
Platform:
linux x64
npm manifest:
{
"name": "dataextractor",
"version": "4.7.5",
"description": "Script to extract data from files",
"author": "Marcelo Franco Filipe Alves <[email protected]>",
"private": true,
"engines": {
"node": "6.7.0",
"npm": "3.10.8"
},
"repository": {
"type": "git",
"url": "https://github.com/Garimpo/DataExtractor"
},
"bugs": {
"url": "https://github.com/Garimpo/DataExtractor/issues"
},
"scripts": {
"start": "node-dev ./index.ls"
},
"dependencies": {
"@extract/textract": "4.1.0",
"async": "1.5.2",
"chalk": "1.1.1",
"debug": "2.2.0",
"glob": "7.0.3",
"inquirer": "1.0.2",
"livescript": "1.5.0",
"mime": "1.3.4",
"node-dev": "3.1.3",
"node-xlsx": "0.7.1"
},
"devDependencies": {
"gulp": "3.9.1",
"gulp-js-obfuscator": "1.0.0",
"gulp-livescript": "3.0.1"
},
"license": "UNLICENSED"
}
yarn manifest:
No manifest
Lockfile:
No lockfile
Trace:
TypeError: Cannot convert object to primitive value
at Object.<anonymous> (/usr/share/yarn/lib/cli/commands/init.js:93:27)
at next (native)
at step (/usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
at /usr/share/yarn/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
at process._tickCallback (internal/process/next_tick.js:103:7)
# 1924์ ๊ฐ์ง ์๋์?
@sebn ์, ๊ฐ์ฌํฉ๋๋ค ๐
@bestander ๋ซ๊ธฐ; # 1924์ ์์์
๋ฏธ์ ๋ด ์ค์ ์ผ. ๋๊ธ์ ์์ฑํ์ง๋ง ๋ซ์ง ๋ชปํ์ต๋๋ค ๐