해결된 질문
작성
·
267
0
16.02버젼을 다운로드 받아서 아래와 같이 정상설치하였습니다.
그런데
const eos = require('eosjs');
를 실행하면 Cannot find module 'eosjs'가 나옵니다.
죄송한데 번거롭겠지만 eosjs 16.02버젼 설치 가이드를 만들어 주실수는 없을까요?
저는 맥을 사용하고 있습니다.
===== eosjs 16.02 설치 결과 =====
|/Users/hyungsoolim/eosex|$ npm install --save eosjs-16.0.2
> core-js@2.6.9 postinstall /Users/hyungsoolim/eosex/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN eosex@1.0.0 No description
npm WARN eosex@1.0.0 No repository field.
+ eosjs@16.0.2
added 40 packages from 18 contributors and audited 139 packages in 2.578s
found 0 vulnerabilities
|
답변 2
0
0
npm install --save eosjs@16.0.9
이렇게 설치 하셔야됩니다.
https://github.com/mayajuni/eosjs-wallet
위의 github를 참고해주세요.