You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All build scripts are working fine, except universal:aot. The same with Bootstrap branch.
I made no changes to any files, just cloned a project.
I have no idea what is going on here. Here is a debug log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build:universal:aot' ]
2 info using npm@5.5.1
3 info using node@v8.9.3
4 verbose run-script [ 'prebuild:universal:aot',
4 verbose run-script 'build:universal:aot',
4 verbose run-script 'postbuild:universal:aot' ]
5 info lifecycle angular-webpack2-starter@3.0.0prebuild:universal:aot: angular-webpack2-starter@3.0.0
6 info lifecycle angular-webpack2-starter@3.0.0build:universal:aot: angular-webpack2-starter@3.0.0
7 verbose lifecycle angular-webpack2-starter@3.0.0build:universal:aot: unsafe-perm in lifecycle true
8 verbose lifecycle angular-webpack2-starter@3.0.0build:universal:aot: PATH: my_dir/angular-webpack2-starter/node_modules/.bin:my_webstorm_dir/angular-webpack2-starter/node_modules/.bin:my_dir/.config/yarn/link/node_modules/.bin:my_dir/angular-webpack2-starter/node_modules/.bin:my_dir/.config/yarn/link/node_modules/.bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
9 verbose lifecycle angular-webpack2-starter@3.0.0build:universal:aot: CWD: /Users/ausa/WebstormProjects/bootstrap universal starter/angular-webpack2-starter
10 silly lifecycle angular-webpack2-starter@3.0.0build:universal:aot: Args: [ '-c', 'npm-run-all -p build:aot build:server:aot' ]
11 silly lifecycle angular-webpack2-starter@3.0.0build:universal:aot: Returned: code: 1 signal: null
12 info lifecycle angular-webpack2-starter@3.0.0build:universal:aot: Failed to exec build:universal:aot script
13 verbose stack Error: angular-webpack2-starter@3.0.0 build:universal:aot: npm-run-all -p build:aot build:server:aot
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid angular-webpack2-starter@3.0.0
15 verbose cwd /Users/ausa/WebstormProjects/bootstrap universal starter/angular-webpack2-starter
16 verbose Darwin 16.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:universal:aot"
18 verbose node v8.9.3
19 verbose npm v5.5.1
20 error code ELIFECYCLE
21 error errno 1
22 error angular-webpack2-starter@3.0.0 build:universal:aot: npm-run-all -p build:aot build:server:aot
22 error Exit status 1
23 error Failed at the angular-webpack2-starter@3.0.0 build:universal:aot script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered:
usachev-dev
changed the title
Error in AOT build: Cannot find module './ngfactory/app/server.app.module.ngfactory'.
Error in universal:AOT build: Cannot find module './ngfactory/app/server.app.module.ngfactory'.
Jan 25, 2018
All build scripts are working fine, except universal:aot. The same with Bootstrap branch.
I made no changes to any files, just cloned a project.
I have no idea what is going on here. Here is a debug log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'run',
1 verbose cli 'build:universal:aot' ]
2 info using npm@5.5.1
3 info using node@v8.9.3
4 verbose run-script [ 'prebuild:universal:aot',
4 verbose run-script 'build:universal:aot',
4 verbose run-script 'postbuild:universal:aot' ]
5 info lifecycle angular-webpack2-starter@3.0.0
prebuild:universal:aot: angular-webpack2-starter@3.0.0build:universal:aot: angular-webpack2-starter@3.0.06 info lifecycle angular-webpack2-starter@3.0.0
7 verbose lifecycle angular-webpack2-starter@3.0.0
build:universal:aot: unsafe-perm in lifecycle truebuild:universal:aot: PATH: my_dir/angular-webpack2-starter/node_modules/.bin:my_webstorm_dir/angular-webpack2-starter/node_modules/.bin:my_dir/.config/yarn/link/node_modules/.bin:my_dir/angular-webpack2-starter/node_modules/.bin:my_dir/.config/yarn/link/node_modules/.bin:/usr/local/lib/node_modules/npm/bin/node-gyp-bin:/usr/local/bin/node_modules/npm/bin/node-gyp-bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin8 verbose lifecycle angular-webpack2-starter@3.0.0
9 verbose lifecycle angular-webpack2-starter@3.0.0
build:universal:aot: CWD: /Users/ausa/WebstormProjects/bootstrap universal starter/angular-webpack2-starterbuild:universal:aot: Args: [ '-c', 'npm-run-all -p build:aot build:server:aot' ]10 silly lifecycle angular-webpack2-starter@3.0.0
11 silly lifecycle angular-webpack2-starter@3.0.0
build:universal:aot: Returned: code: 1 signal: nullbuild:universal:aot: Failed to exec build:universal:aot script12 info lifecycle angular-webpack2-starter@3.0.0
13 verbose stack Error: angular-webpack2-starter@3.0.0 build:universal:aot:
npm-run-all -p build:aot build:server:aot
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:280:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid angular-webpack2-starter@3.0.0
15 verbose cwd /Users/ausa/WebstormProjects/bootstrap universal starter/angular-webpack2-starter
16 verbose Darwin 16.7.0
17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build:universal:aot"
18 verbose node v8.9.3
19 verbose npm v5.5.1
20 error code ELIFECYCLE
21 error errno 1
22 error angular-webpack2-starter@3.0.0 build:universal:aot:
npm-run-all -p build:aot build:server:aot
22 error Exit status 1
23 error Failed at the angular-webpack2-starter@3.0.0 build:universal:aot script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
The text was updated successfully, but these errors were encountered: