question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docs(start): StackBlitz devDependencies are listing previous Angular version

See original GitHub issue

📚 Docs or angular.io bug report

Description

The devDependencies in package.json in the Getting started guide are listing Angular version 7.

🔬 Minimal Reproduction

What’s the affected URL?**

Reproduction Steps**

Click the Click here to create a new project in StackBlitz. link. image

Expected vs Actual Behavior**

Expected Angular version 8 in devDependencies in package.json. Instead, I got version 7:

{
  "name": "gaarjjedxev.angular",
  "version": "0.0.0",
  "private": true,
  "dependencies": {
    "rxjs": "6.5.2",
    "tslib": "1.10.0",
    "core-js": "2.6.9",
    "zone.js": "0.9.1",
    "jasmine-core": "2.99.1",
    "@angular/core": "8.0.2",
    "@angular/forms": "8.0.2",
    "@angular/common": "8.0.2",
    "@angular/router": "8.0.2",
    "jasmine-marbles": "0.6.0",
    "@angular/compiler": "8.0.2",
    "web-animations-js": "2.3.2",
    "@angular/animations": "8.0.2",
    "@angular/platform-browser": "8.0.2",
    "angular-in-memory-web-api": "0.8.0",
    "@angular/platform-browser-dynamic": "8.0.2"
  },
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.10.0",
    "@angular/cli": "~7.0.2",
    "@angular/compiler-cli": "~7.0.0",
    "@angular/language-service": "~7.0.0",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.1.1"
  }
}

📷Screenshot

image

🔥 Exception or Error





🌍 Your Environment

Browser info

Anything else relevant?

https://github.com/stackblitz/core/issues/1004

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
EricSimonscommented, May 28, 2020

Unfortunately not because the Angular docs only send the dependencies and not devDependencies. You can see this by viewing source on the links you posted. In the absence of devDeps we automatically will default to the latest devDeps from Ang CLI on our end.

1reaction
EricSimonscommented, May 28, 2020

This bug is already fixed I think? Clicked on both links and devDeps are showing v9 versions. Lmk if y’all see otherwise on your end though

Read more comments on GitHub >

github_iconTop Results From Across the Web

Managing dependencies with the SDK - StackBlitz Docs
For WebContainers project, our Turbo package manager will install dependencies and devDependencies from the project's package.json file, much like npm , pnpm or ......
Read more >
For older Angular projects Stackblitz seems to have an invalid ...
I've tried to copy&paste devDependencies entries from Angular6/7 projects but got a message that ng couldn't find the bootstrap code: ERROR in ...
Read more >
NG Bootstrap - npm
Angular widgets built from the ground up using only Bootstrap 5 CSS with APIs designed for the Angular ecosystem. Please check our demo...
Read more >
Angular v14 is now available!
We are excited to announce the release of Angular v14! From typed forms and standalone components to new primitives in the Angular CDK ......
Read more >
How To Create a Real-Time App with Socket.IO, Angular, and ...
How To Create a Real-Time App with Socket.IO, Angular, and Node.js · Step 1 — Setting Up the Project Directory and Creating the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found