-
-
Save coryhouse/29bd1029b623beb4c7f79b748dcba844 to your computer and use it in GitHub Desktop.
{ | |
"name": "javascript-development-environment", | |
"version": "1.0.0", | |
"description": "JavaScript development environment Pluralsight course by Cory House", | |
"scripts": { | |
}, | |
"author": "Cory House", | |
"license": "MIT", | |
"dependencies": { | |
"whatwg-fetch": "1.0.0" | |
}, | |
"devDependencies": { | |
"babel-cli": "6.16.0", | |
"babel-core": "6.17.0", | |
"babel-loader": "6.2.5", | |
"babel-preset-latest": "6.16.0", | |
"babel-register": "6.16.3", | |
"chai": "3.5.0", | |
"chalk": "1.1.3", | |
"cheerio": "0.22.0", | |
"compression": "1.6.2", | |
"cross-env": "3.1.3", | |
"css-loader": "0.25.0", | |
"eslint": "3.8.1", | |
"eslint-plugin-import": "2.0.1", | |
"eslint-watch": "2.1.14", | |
"express": "4.14.0", | |
"extract-text-webpack-plugin": "1.0.1", | |
"html-webpack-plugin": "2.22.0", | |
"jsdom": "9.8.0", | |
"json-schema-faker": "0.3.6", | |
"json-server": "0.8.22", | |
"localtunnel": "1.8.1", | |
"mocha": "3.1.2", | |
"nock": "8.1.0", | |
"npm-run-all": "3.1.1", | |
"nsp": "2.6.2", | |
"numeral": "1.5.3", | |
"open": "0.0.5", | |
"rimraf": "2.5.4", | |
"style-loader": "0.13.1", | |
"surge": "0.20.4", | |
"webpack": "1.13.2", | |
"webpack-dev-middleware": "1.8.4", | |
"webpack-hot-middleware": "2.13.0", | |
"webpack-md5-hash": "0.0.5" | |
} | |
} |
The above packages output will be the following warnings:
PS C:\nodejs-demo> npm install
> [email protected] postinstall C:\nodejs-demo\node_modules\jsonpath
> node lib/aesprim.js > generated/aesprim-browser.js
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1099 packages from 1002 contributors and audited 11870 packages in 94.459s
found 2 vulnerabilities (1 low, 1 critical)
run `npm audit fix` to fix them, or `npm audit` for details
There is no workaround if you wish to use Open. Hence, you can ignore it, or just use it and ensure you do not make the code error:
PS C:\nodejs-demo> npm audit
=== npm audit security report ===
Manual Review
Some vulnerabilities require your attention to resolve
Visit https://go.npm.me/audit-guide for additional guidance
Critical Command Injection
Package open
Patched in No patch available
Dependency of open [dev]
Path open
More info https://nodesecurity.io/advisories/663
Low Prototype Pollution
Package lodash
Patched in >=4.17.5
Dependency of nsp [dev]
Path nsp > cli-table2 > lodash
More info https://nodesecurity.io/advisories/577
found 2 vulnerabilities (1 low, 1 critical) in 11870 scanned packages
2 vulnerabilities require manual review. See the full report for details.
Best course sir. Thank you!
Thanks Cory for the content. And gagneet thanks for the update.
So smooth, thanks, sir. I literally followed through quite well with this while going through your course.
I.m going through this course. Running the npm install command returns several deprecated warnings. Any help?
You can ignore the deprecation warnings to assure you can follow along with me using the versions I used. Once you're done with the course, you can upgrade the packages. I show how to here.
For support please post on the Pluralsight course discussion board.
where can i get the most updated package.json file
You need to use this file with these versions to follow along with the course.
They are currently breaking @coryhouse. For example when I run node buildScripts/srcServer.js
it throws an error saying sendFile
is not a function
For support please post on the Pluralsight course discussion board.
Please assist, i am getting this error when i try to install npm packages
PS C:\Users\de\pluralsight-js-dev-env> npm install
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- npm install
-
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Please post on the course discussion for support. That said, you need to install Node, and npm will be installed as well when you do.
Thanks for that @cory.
Thank you Cory. Really appreciate it
For anyone who encountered Parsing errors, run
npm cache verify
before
npm install
.
This worked for me.
Thanks for this @coryhouse
thanks @coryhouse
Thank you @coryhouse, but I'm doing the course in 2019 using Node version 8 and version 10 many of the packages in the original package.json are deprecated, and also the ones I found in the 2018 version of the package.json. Could you help, please?
@UWEMAKAN - Please post on the course discussion on Pluralsight for support. That said, more info here: coryhouse/javascript-development-environment#33
So far the course has been great until i got errors when doing npm install
.
I'm taking this course in 2019 using nodejs v10.16.0 and many of these package.json are depreciated.
Whats the solution ? i'm a beginnner
Please post on the course discussion on Pluralsight for support. That said, more info here: coryhouse/javascript-development-environment#33
@coryhouse the VS Code terminal keep saying "deprecated" for all whenever I run the npm install. I am using the 12.10.0 node.js. I will be glad if you can provide a solution to this here.
Thanks
Cheers
@AlhajiTrujillo - Please post on the course discussion on Pluralsight for support. That said, more info here: coryhouse/javascript-development-environment#33
@jaypshah5591 have you tried installing the npm
Great tutorial on Pluralsight and an equally good package.json.
Have updated with the latest package versions at the end of the year 2018:
Have moved some of the packages to accommodate the package dependencies.
Have still kept NSP, even though it is deprecated. You can remove it.