-
Notifications
You must be signed in to change notification settings - Fork 12k
ng new 'Data path "" should NOT have additional properties(dryRun).' #11006
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
Comments
I also encountered !This is my first time use Angular (Angry!!) Angular CLI: 6.0.4 Package Version@angular-devkit/architect 0.6.4 |
Happening in ubuntu too. |
Also running into the same issue. Went to create a new project about an hour ago and ran into the exact same error message as the Original Poster. Reinstalled Angular with
ng -v returns:
npm -v returns: |
looks like the issue is with Angular CLI: 6.0.4 downgrade to 6.0.3 and ng new works for me now npm uninstall -g @angular/cli ## but when I run "ng g c header" i get
this just started happening UPDATE (workaround) in your package.json look for "@angular/compiler-cli": "^6.0.2" this will install the 6.0.4 which was updated today about 2 hours ago and thats where the issues from from. workaroundchange this this will force it to use 6.0.3 delete your package-lock.json and the node_moudles folder --- make sure you are using CLI 6.0.3 ---- the latest is 6.0.4 and it will not work with this |
Confirmed downgrading to 6.0.3 resolves the issue, it was introduced in 6.0.4. Edit: confirmed the above issue. Looks like |
my guess is its coming from @Angular-devkit looks like there was an update about 2 hours ago and that is that started these errors. |
eliteproxy7, your npm version install is wrong, you have 6.03, it should be 6.0.3 |
Can confirm: |
Great time to upgrade the CLI haha will try 6.0.3 thanks |
@fishslicer good catch just fixed it. also the ng g function was messing up to I added the fix for that as well |
Same version as @justindanielclark, do the following:
however, create component using
|
2 things
|
Did angular update to 6.0.4 today? Last night all things were correct,today I install angular at a new computer give me this error message. |
@eliteproxy7 Update:
|
make sure your devDepencies in package.json looks like this .. make to check the number and the character that is right before the version numbers
|
I got the same issue....cant fix it |
This might not be best practice, but adding the dryRun property to the schema will let you run on the latest version without this problem. %appdata%\npm\node_modules\@angular\cli\node_modules\@schematics\angular\ng-new\schema.json
|
Downgraded to 6.0.3 on linux, fixed. Downgraded to 6.0.3 on macOS, still It seems like the angular cli is upgrading the cli version from 6.0.3 -> 6.0.4 when I create a new project.
|
Confirming rolling back to @angular/[email protected] fixes this issue, but hopefully we'll get a patch asap |
i was running on angular/cli 6.0.4 , i encountered same issue. changed it to 6.0.3.. thanks guys! |
Looks like the new 6.0.5 version fixes, thanks @hansl ! |
Confirmed this issue is fixed in https://github.com/angular/angular-cli/releases/tag/v6.0.5 |
"Fixed" as in they re-release 6.0.3 with a version bump. |
This issue has been addressed in 2 ways...
Apologies for any issues this may have caused. |
I'm having this issue after updating to 6.1.2 ng g application my-app --service-worker --style=scss Data path "" should NOT have additional properties(serviceWorker). |
Same. Im having this issue on 6.0.8 trying to add @angular/pwa created an issue here #11777 |
Running into this same issue in v 6.1.2 Angular CLI: 6.1.2 Package Version@angular-devkit/architect 0.7.2 The error happens when I run |
@mswilson4040 have you found a fix for this issue? Bumping into the same |
Updating the CLI seems to fix the issue. Just run |
I'm on 6.1.1 and facing the same issue. |
i have the same issue moved on 6.2.2 (from 6.2.5) but doesn't work (@angular/compiler-cli 6.1.10) |
can i add script tag under
for angular library ? like angular application. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
ng new <app name>
Observed behavior
Desired behavior
pretty obvious
Mention any other details that might be useful (optional)
Fresh install of the CLI on Windows 10 using Powershell - let me know if this is not supported?
The text was updated successfully, but these errors were encountered: