Skip to content

Absolute path#16

Open
DaveStein wants to merge 2 commits intorobwormald:masterfrom
DaveStein:absolute_path
Open

Absolute path#16
DaveStein wants to merge 2 commits intorobwormald:masterfrom
DaveStein:absolute_path

Conversation

@DaveStein
Copy link
Copy Markdown

Was previously getting this error:

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration.output.path: The provided value "dist" is not an absolute path!

Still getting errors though even with that... so looking for recommendation to fix in this PR as well


WARNING in ./~/express/lib/view.js
80:29-41 Critical dependency: the request of a dependency is an expression

ERROR in Error encountered resolving symbol values statically. Could not resolve @angular/animations/browser relative to /Users/dstein/Repositories/ng-universal-demo/node_modules/@angular/platform-browser/animations/index.d.ts., resolving symbol ɵe in /Users/dstein/Repositories/ng-universal-demo/node_modules/@angular/platform-browser/animations/index.d.ts, resolving symbol BrowserAnimationsModule in /Users/dstein/Repositories/ng-universal-demo/node_modules/@angular/platform-browser/animations/index.d.ts, resolving symbol BrowserAnimationsModule in /Users/dstein/Repositories/ng-universal-demo/node_modules/@angular/platform-browser/animations/index.d.ts

ERROR in /Users/dstein/Repositories/ng-universal-demo/src/main.server.ts (5,42): Cannot find module './ngfactory/src/app.server.ngfactory'.

ERROR in ./src/main.server.ts
Module not found: Error: Can't resolve './ngfactory/src/app.server.ngfactory' in '/Users/dstein/Repositories/ng-universal-demo/src'
 @ ./src/main.server.ts 3:0-80

ERROR in ./~/@angular/platform-server/@angular/platform-server.es5.js
Module not found: Error: Can't resolve '@angular/animations/browser' in '/Users/dstein/Repositories/ng-universal-demo/node_modules/@angular/platform-server/@angular'
 @ ./~/@angular/platform-server/@angular/platform-server.es5.js 13:0-63
 @ ./src/express-engine.ts
 @ ./src/main.server.ts

ERROR in ./~/@angular/platform-browser/@angular/platform-browser/animations.es5.js
Module not found: Error: Can't resolve '@angular/animations/browser' in '/Users/dstein/Repositories/ng-universal-demo/node_modules/@angular/platform-browser/@angular/platform-browser'
 @ ./~/@angular/platform-browser/@angular/platform-browser/animations.es5.js 13:0-249
 @ ./~/@angular/platform-server/@angular/platform-server.es5.js
 @ ./src/express-engine.ts
 @ ./src/main.server.ts

@empurium
Copy link
Copy Markdown

empurium commented Apr 3, 2017

FYI this is fixed with more in #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants