In my professional setup, I have the following installed:
- Windows 7
- Visual studio 2015 (with typescript 2 installed)
- Resharper 2016.3.2
- npm version 3.10.10
- Node v 6.10.0
These are the global packages installed:
npm -g list --depth=0
+-- @angular/<a href="email-protected"></a>
+-- <a href="email-protected"></a>
+-- <a href="email-protected"></a>
`-- <a href="email-protected"></a>
In my personal environment, I have Windows 10 with the same software configurations as above. The global packages are also the same:
npm list -g --depth=0
+-- @angular/<a href="email-protected"></a>
+-- <a href="email-protected"></a>
+-- <a href="email-protected"></a>
`-- <a href="email-protected"></a>
Project files are 100% identical:
Although both projects run and build successfully, I encounter errors only on my personal computer with the node_modules
:
And in my spec.ts
files:
Question:
Given the same environment, packages, and code, why am I experiencing these errors on my personal computer, and how can I resolve them?
NOTE:
I have already synced VS's settings file and R#'s settings files, but the errors persist. Both Visual Studio instances are set to "build+intellisense" mode.
Additional information:
webpack.config.js
tsconfig.json
angular-cli.json
package.json