Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning and building #4

Open
tendimensions opened this issue Apr 2, 2018 · 1 comment
Open

Cloning and building #4

tendimensions opened this issue Apr 2, 2018 · 1 comment

Comments

@tendimensions
Copy link

Doing a fresh install and Angular CLI and using WebStorm as the IDE I've run into two issues and wondering if this is something with the package.json checked in or something else.

  1. Initially, the @angular-devkit/build-optimizer was missing and wasn't restored along with the other dependencies. I got that added manually.

  2. Now I'm having an issue running npm build where I get the following error:
    TypeError: Cannot read property 'thisCompilation' of undefined

Am I alone in this? Did anyone else experience these issues on initial cloning?

@kirkbrunson
Copy link
Owner

kirkbrunson commented Apr 3, 2018

@tendimensions, I haven't seen this error yet. What version numbers do you have?

I just did a fresh clone and install. I had to remove package-lock.json, but I didn't encounter this. For reference:

kirk@kb:~/path/to/project ng -v

Angular CLI: 1.7.3
Node: 9.4.0
OS: linux x64
Angular: 5.2.9
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.3
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.4.2
webpack: 3.11.0

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

No branches or pull requests

2 participants