-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Exception while running apm@0.0 similiar to Issue 129 #131
Comments
You can ignore the vulnerabilities warnings. These are in the developer tools that will never be deployed to production. Be sure you do NOT run a fix. That will update some of the packages without correctly updating all of them. (If you did run a fix, start the process over and don't run the fix.) If you don't run a fix, everything should work fine. |
Deborah,
Thank you for your quick reply.
However:
Uninstall nodejs
Reboot
Install nodejs
In the APM folder, I deleted the node_modules and package-lock.json
Npm install
Got the same : found 6 vulnerabilities (1 low, 3 moderate, 2 high)
run `npm audit fix` to fix them, or `npm audit` for details
I did not fix anything
Npm start
[cid:image001.png@01D61741.191F67D0]
The angular-errors.log :
[error] Error: error TS5058: The specified path does not exist: 'C:/Users/Micha/source/Workspaces/MyCopyOfAngularGettingStarted/tsconfig.json'.
at Object.readTsconfig (C:\Users\Micha\source\Workspaces\MyCopyOfAngularGettingStarted\APM\node_modules\@angular-devkit\build-angular\src\angular-cli-files\utilities\read-tsconfig.js:27:15)
at generateWebpackConfig (C:\Users\Micha\source\Workspaces\MyCopyOfAngularGettingStarted\APM\node_modules\@angular-devkit\build-angular\src\utils\webpack-browser-config.js:18:38)
at generateBrowserWebpackConfigFromWorkspace (C:\Users\Micha\source\Workspaces\MyCopyOfAngularGettingStarted\APM\node_modules\@angular-devkit\build-angular\src\utils\webpack-browser-config.js:96:12)
at Object.generateBrowserWebpackConfigFromContext (C:\Users\Micha\source\Workspaces\MyCopyOfAngularGettingStarted\APM\node_modules\@angular-devkit\build-angular\src\utils\webpack-browser-config.js:107:26)
at async setup (C:\Users\Micha\source\Workspaces\MyCopyOfAngularGettingStarted\APM\node_modules\@angular-devkit\build-angular\src\dev-server\index.js:73:37)
I'm confused.
Because of these Issues I wants to see if I could get anything to work on this machine.
I followed the steps @ https://angular.io/cli and this worked fine. Did that load something that might be in conflict with your tutorial?
Thank you again for any help you can provide.
Michael
From: Deborah Kurata <notifications@github.com>
Sent: Monday, April 20, 2020 4:50 PM
To: DeborahK/Angular-GettingStarted <Angular-GettingStarted@noreply.github.com>
Cc: Michael-Dido <michael.dido@hotmail.com>; Author <author@noreply.github.com>
Subject: Re: [DeborahK/Angular-GettingStarted] Exception while running apm@0.0 similiar to Issue 129 (#131)
You can ignore the vulnerabilities warnings. These are in the developer tools that will never be deployed to production.
Be sure you do NOT run a fix. That will update some of the packages without correctly updating all of them. (If you did run a fix, start the process over and don't run the fix.)
If you don't run a fix, everything should work fine.
-
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#131 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB5SO3IIYPBOWNWAGG4MM5DRNSYPXANCNFSM4MMYCZOQ>.
|
This path from your error message doesn't look correct: My files are all in an Be sure you have navigated down to the APM folder containing the package.json and tsconfig.json before you run You could also try running: Looking at your linked log file, it may be this error that is causing the issue: If so, I found this: webpack/webpack#8254 (read the last two comments) Let me know if that helps. If not, a few screen shots of your steps may help. |
If you want to proceed without trying to get it to install, you can use Stackblitz instead of downloading and installing anything. The instructions for using Stackblitz with my files are here: https://github.com/DeborahK/Angular-GettingStarted#stackblitz |
The problem is it’s looking 1 level up for the tsconfig.json.
I copied your APM-Start to another folder 1 level up, and get same behavior.
The terminal prompt shows I’m in the right directory (PS C:\Users\Micha\source\Workspaces\APM>) when I do the npm install and npm start.
What process(code) is setting that path wrong?
I will try your other Stackblitz suggestion later today.
Thanks
Michael
From: Deborah Kurata <notifications@github.com>
Sent: Tuesday, April 21, 2020 2:16 AM
To: DeborahK/Angular-GettingStarted <Angular-GettingStarted@noreply.github.com>
Cc: Michael-Dido <michael.dido@hotmail.com>; Author <author@noreply.github.com>
Subject: Re: [DeborahK/Angular-GettingStarted] Exception while running apm@0.0 similiar to Issue 129 (#131)
This path from your error message doesn't look correct: 'C:/Users/Micha/source/Workspaces/MyCopyOfAngularGettingStarted/tsconfig.json'.
My files are all in an APM folder. Or if you didn't rename it: APM-Start.
Be sure you have navigated down to the APM folder containing the package.json and tsconfig.json before you run npm install or npm start.
Let me know if that helps. If not, a few screen shots of your folder structure may be helpful.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#131 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB5SO3ORCJO3RYRVU56KPCLRNU2ZTANCNFSM4MMYCZOQ>.
|
Deborah,
Good news, your updated code for angular9 fixed my issue.
Bad news, I can’t play the Getting Started scripts. I;m hung on the pluralsight with a message
“Your current plan doesn’t allow access to this course….”
[cid:image001.png@01D61987.1DC77AA0]
Maybe because I was on the TechSkillsday and it lost my profile or something.
Thanks for the upgrade for angular9
Michael Dido
From: Michael Dido
Sent: Tuesday, April 21, 2020 8:02 AM
To: DeborahK/Angular-GettingStarted <reply@reply.github.com>; DeborahK/Angular-GettingStarted <Angular-GettingStarted@noreply.github.com>
Cc: Author <author@noreply.github.com>
Subject: RE: [DeborahK/Angular-GettingStarted] Exception while running apm@0.0 similiar to Issue 129 (#131)
The problem is it’s looking 1 level up for the tsconfig.json.
I copied your APM-Start to another folder 1 level up, and get same behavior.
The terminal prompt shows I’m in the right directory (PS C:\Users\Micha\source\Workspaces\APM>) when I do the npm install and npm start.
What process(code) is setting that path wrong?
I will try your other Stackblitz suggestion later today.
Thanks
Michael
From: Deborah Kurata <notifications@github.com<mailto:notifications@github.com>>
Sent: Tuesday, April 21, 2020 2:16 AM
To: DeborahK/Angular-GettingStarted <Angular-GettingStarted@noreply.github.com<mailto:Angular-GettingStarted@noreply.github.com>>
Cc: Michael-Dido <michael.dido@hotmail.com<mailto:michael.dido@hotmail.com>>; Author <author@noreply.github.com<mailto:author@noreply.github.com>>
Subject: Re: [DeborahK/Angular-GettingStarted] Exception while running apm@0.0<mailto:apm@0.0> similiar to Issue 129 (#131)
This path from your error message doesn't look correct: 'C:/Users/Micha/source/Workspaces/MyCopyOfAngularGettingStarted/tsconfig.json'.
My files are all in an APM folder. Or if you didn't rename it: APM-Start.
Be sure you have navigated down to the APM folder containing the package.json and tsconfig.json before you run npm install or npm start.
Let me know if that helps. If not, a few screen shots of your folder structure may be helpful.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#131 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB5SO3ORCJO3RYRVU56KPCLRNU2ZTANCNFSM4MMYCZOQ>.
|
Glad you resolved the issue. Regarding the player, I had that happen to me last week as well. I just logged out and logged back in and then it was fine. If the problem persists, contact support@pluralsight.com. (I have no control/access to provide assistance with Pluralsight's player.) |
I'm closing this issue at this time. Please reach out if you still have issues with the code. |
Hello,
I am having similar issue.
I have APM working on a virtual machine, But I can't get tit to work an my main development laptop.
npm install
Finds 6 vulnerabilities (1 low, 3 moderate, 2 high) [Same thing on my virtual machine]
2020-04-20T20_37_12_529Z-debug.log
I have tried reinstalling nodejs. Did not help.
What do I do now?
The text was updated successfully, but these errors were encountered: