홈>
이 튜토리얼을 따르려고합니다 :
https://scotch.io/tutorials/create-your-first-mobile-app-with-angularjs-and-ionic#toc-making-a-todo-app
그리고
ionic -v
를 입력하면
아니면 그냥
ionic
나 에게이 오류가 발생합니다 :
AppData\Roaming\npm\node_modules\ionic\dist\index.js:24
const [xcode, iosDeploy, iosSim,] = yield Promise.all([
^
Io
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:387:25)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.<anonymous> (\AppData\Roaming\npm\node_modules\ionic\bin\ionic:8:11)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
전 세계적으로 코르도바와 이온을 설치했습니다 :
npm install cordova ionic -g
그리고 로컬이지만 동일한 결과. 나는 또한
npm init
를했다
.
이 이유가 무엇인가요?
감사합니다.
-
답변 # 1
관련 자료
- javascript - google 스프레드 시트에서 importjson으로 'syntaxerror - 예기치 않은 토큰 : a'를 수정하는 방법
- node.js - aws lambda syntaxerror - 예기치 않은 토큰 가져 오기
- vue.js - then (response => syntaxerror - 예기치 않은 토큰, vue js
- angular - syntaxerror - xmlhttprequestonload의 jsonparse ()에서 위치 0에있는 json의 예기치 않은 토큰 <
- javascript - syntaxerror - 예기치 않은 토큰 <
- reactjs - 구문 오류 - 0 위치에있는 json의 예기치 않은 토큰 b :json 레스트 api
- react router - npm을 시작하는 동안 reactjs"syntaxerror - 예기치 않은 토큰 <"
- javascript - 잡히지 않은 구문 오류 - iframe을 본문 태그에 연결하는 동안 유효하지 않거나 예기치 않은 토큰
- php - 잡히지 않은 syntaxerror - 예기치 않은 토큰 <오류 메시지
- javascript - heroku syntaxerror - 예기치 않은 토큰 'export'
- jquery - jsonparse syntaxerror - 예기치 않은 토큰? 124 번째 json
- javascript - 캐치되지 않는 구문 에러 - 예기치 않은 토큰 -
- javascript - syntaxerror - 0 위치의 json에서 예기치 않은 토큰 w
- reactjs - '미 발견 구문 오류 - 로그인 양식에서 예기치 않은 토큰 <'
- node.js - 터미널에 'npm run debug'를 입력하면 'syntaxerror - invalid or 예기치 않은 토큰'이 나타납니다
- javascript - syntaxerror 문제 - 예기치 않은 토큰 {
- webpack - jest가 es6을 구문 분석하지 않음 - 구문 오류 : 예기치 않은 토큰 가져 오기
- node.js - 반응/노드 캐치되지 않은 구문 오류 - 예기치 않은 토큰 <
- javascript - 모듈을로드 할 때"catch되지 않은 syntaxerror - 예기치 않은 토큰 {"
- javascript - 구문 오류 - 예기치 않은 토큰 가져 오기 :reactjs
관련 질문
- javascript - AngularJS 지시문을 사용하여 데이터가보기에 표시되지 않습니다
- angularjs - javascript/angular - 작은 도우미 함수를 넣을 위치
- sqlite - 정의되지 않은 정수 값을 반환하는 자바 스크립트 함수
- javascript - angularJS 경로 링크로 PHP 요소 생성
- javascript - angularJS가 로그인 페이지에서 해시 된 경로로 리디렉션 할 수 없습니다
- javascript - String 속성을 기준으로 객체 배열 정렬
- javascript - 정의되지 않은 'applicationDirectory'속성을 읽을 수 없습니다
- javascript - Cordova의 'applicationDirectory'속성을 읽을 수 없습니다
이 github 문제를 살펴보십시오 : https://github.com/driftyco/ionic/issues/11588
그리고 이것 : 설치 후의 이오니아 문제
새로운 버전의 이온에 문제가있는 것 같습니다. NodeJs 버전을 업그레이드하면 문제가 해결됩니다.
와이즈 비즈