Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

build: support NodeJS v10.x #11468

@MiB3Avenger

Description

@MiB3Avenger

I'm trying to replicate the docs application, but when I followed the steps in here, after npm install step, I received a message (Highlighted):

image

Then, I ran the npm run docs:watch command and get the following messages.

image

Log file:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'docs:watch' ]
2 info using npm@6.4.1
3 info using node@v10.10.0
4 verbose run-script [ 'predocs:watch', 'docs:watch', 'postdocs:watch' ]
5 info lifecycle angular-material-source@1.1.10~predocs:watch: angular-material-source@1.1.10
6 info lifecycle angular-material-source@1.1.10~docs:watch: angular-material-source@1.1.10
7 verbose lifecycle angular-material-source@1.1.10~docs:watch: unsafe-perm in lifecycle true
8 verbose lifecycle angular-material-source@1.1.10~docs:watch: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\Work\git\material\node_modules\.bin;D:\Software Setup\platform-tools_r28.0.1-windows\platform-tools\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;D:\Software Setup\platform-tools_r28.0.1-windows\platform-tools\;C:\Users\CHINMAY-PC\AppData\Roaming\npm
9 verbose lifecycle angular-material-source@1.1.10~docs:watch: CWD: D:\Work\git\material
10 silly lifecycle angular-material-source@1.1.10~docs:watch: Args: [ '/d /s /c', 'gulp watch site --dev' ]
11 silly lifecycle angular-material-source@1.1.10~docs:watch: Returned: code: 134  signal: null
12 info lifecycle angular-material-source@1.1.10~docs:watch: Failed to exec docs:watch script
13 verbose stack Error: angular-material-source@1.1.10 docs:watch: gulp watch site --dev
13 verbose stack Exit status 134
13 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack     at EventEmitter.emit (events.js:182:13)
13 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack     at ChildProcess.emit (events.js:182:13)
13 verbose stack     at maybeClose (internal/child_process.js:962:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
14 verbose pkgid angular-material-source@1.1.10
15 verbose cwd D:\Work\git\material
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "docs:watch"
18 verbose node v10.10.0
19 verbose npm  v6.4.1
20 error code ELIFECYCLE
21 error errno 134
22 error angular-material-source@1.1.10 docs:watch: gulp watch site --dev
22 error Exit status 134
23 error Failed at the angular-material-source@1.1.10 docs:watch script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 134, true ]

I want to replicate the docs' sidebar menu with the sub menus, I have tried npm audit fix command, yet the same problem. Please mind my first post ever on github.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions