Closed
Description
I'm on Windows 8 running these commands in PowerShell as Administrator mode. Following the readme directions gives me an error originating from angular-cli-github-pages.
PS C:\Windows\system32> npm install -g angular-cli
npm WARN engine [email protected]: wanted: {"node":">= 4.1.0"} (current: {"node":"0.10.32","npm":"1.4.28"})
npm WARN deprecated [email protected]: This package is no longer maintained. See its readme for upgrade details.
npm WARN deprecated [email protected]: Renamed to supports-color. If you're using chalk, upgrade to the latest version. ht
tps://github.com/chalk/supports-color
C:\Users\U0044975\AppData\Roaming\npm\ng -> C:\Users\U0044975\AppData\Roaming\npm\node_modules\angular-cli\bin\ng
[email protected] C:\Users\U0044975\AppData\Roaming\npm\node_modules\angular-cli
├── [email protected]
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], quick
[email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], fast-ordered-set
@1.0.2, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected]
, [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected]
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected], [email protected], commander@
2.9.0, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
, [email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], ember-
[email protected], [email protected], [email protected], [email protected].
0, [email protected], [email protected], [email protected], [email protected], [email protected].
0, [email protected], [email protected], [email protected], [email protected], exists-sync@0.
0.3, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected].
3, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], br
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], yam
@0.0.18, [email protected], [email protected], [email protected], [email protected], portfin
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], e
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], mar
[email protected], [email protected], [email protected], [email protected], [email protected], broccoli-babel-
[email protected], [email protected], [email protected])
PS C:\Windows\system32> cd \code
PS C:\code> ng new RegexByExample
warning: An ember-addon has attempted to override the core command "new". The addon command will be used as the overrid
ing was explicit.
DEPRECATION: Node v0.10.32 is no longer supported by Ember CLI. Please update to a more recent version of Node
undefined
version: 1.13.13
installing ng2
create ember-cli-build.js
create .gitignore
create karma-test-shim.js
create karma.conf.js
create package.json
create src\app\regex-by-example.html
create src\app\regex-by-example.spec.ts
create src\app\regex-by-example.ts
create src\app.ts
create src\favicon.ico
create src\index.html
create src\tsconfig.json
Installing packages for tooling via npm.WARN engine [email protected]: wanted: {"node":">= 4.1.0"} (current: {"node":"
.10.32","npm":"2.14.10"})
WARN engine [email protected]: wanted: {"node":">= 4.1.0"} (current: {"node":"0.10.32","npm":"2.14.10"})
Installed packages for tooling via npm.
PS C:\code> cd .\RegexByExample
PS C:\code\RegexByExample> ls
Directory: C:\code\RegexByExample
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 1/28/2016 12:00 PM node_modules
d---- 1/28/2016 11:59 AM src
-a--- 1/28/2016 11:59 AM 246 .gitignore
-a--- 1/28/2016 11:59 AM 200 ember-cli-build.js
-a--- 1/28/2016 11:59 AM 1282 karma-test-shim.js
-a--- 1/28/2016 11:59 AM 1365 karma.conf.js
-a--- 1/28/2016 11:59 AM 574 package.json
PS C:\code\RegexByExample> ng serve
C:\code\RegexByExample\node_modules\angular-cli-github-pages\lib\commands\deploy.js:50
return runCommand('git status --porcelain', execOptions).then(stdout => {
^
Unexpected token >
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Class.module.exports.includedCommands (C:\code\RegexByExample\node_modules\angular-cli-github-pages\index.js:9:30
)
at C:\code\RegexByExample\node_modules\angular-cli\node_modules\ember-cli\lib\models\project.js:393:61
at Array.forEach (native)
at Project.addonCommands (C:\code\RegexByExample\node_modules\angular-cli\node_modules\ember-cli\lib\models\project.
js:392:15)
PS C:\code\RegexByExample> ng build
C:\code\RegexByExample\node_modules\angular-cli-github-pages\lib\commands\deploy.js:50
return runCommand('git status --porcelain', execOptions).then(stdout => {
^
Unexpected token >
SyntaxError: Unexpected token >
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Class.module.exports.includedCommands (C:\code\RegexByExample\node_modules\angular-cli-github-pages\index.js:9:30
)
at C:\code\RegexByExample\node_modules\angular-cli\node_modules\ember-cli\lib\models\project.js:393:61
at Array.forEach (native)
at Project.addonCommands (C:\code\RegexByExample\node_modules\angular-cli\node_modules\ember-cli\lib\models\project.
js:392:15)
PS C:\code\RegexByExample>
Metadata
Metadata
Assignees
Labels
No labels