Windows 10
git 2.22.0.windows.1
node 10.13.0
npm 6.14.6
Site runs but issue running tests. Wiped the folder and got the same issue on the second try as well.
C:\Source\Learn\EpicReact\react-fundamentals>npm run setup --silent
▶️ Starting workshop setup...
Running the following command: npx "https://gist.github.com/kentcdodds/bb452ffe53a5caa3600197e1d8005733" -q
npx: installed 1 in 7.863s
▶️ Starting: System Validation
Ensuring the correct versions of tools are installed on this computer.
Running the following command: npx "https://gist.github.com/kentcdodds/abbc32701f78fa70298d444c2303b6d9"
npx: installed 2 in 6.96s
✅ Success: System Validation
▶️ Starting: Dependency Installation
Installing third party code dependencies so the workshop works properly on this computer.
Running the following command: npm install
husky > Setting up git hooks
husky > Done
added 2246 packages from 852 contributors and audited 2256 packages in 42.936s
170 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
✅ Success: Dependency Installation
▶️ Starting: Project Validation
Running validation checks to ensure dependencies were installed properly
Running the following command: npm run validate -s
(node:17544) ExperimentalWarning: The fs.promises API is experimental
(node:4884) ExperimentalWarning: The fs.promises API is experimental
(node:14452) ExperimentalWarning: The fs.promises API is experimental
(node:16932) ExperimentalWarning: The fs.promises API is experimental
(node:17640) ExperimentalWarning: The fs.promises API is experimental
FAIL src/tests/06.extra-2.js
● Test suite failed to run
ReferenceError: expect is not defined
at Object.<anonymous> (node_modules/@testing-library/jest-dom/dist/extend-expect.js:7:1)
at Object.<anonymous> (node_modules/@testing-library/jest-dom/extend-expect.js:2:1)
FAIL src/tests/05.js
● Test suite failed to run
ReferenceError: expect is not defined
at Object.<anonymous> (node_modules/@testing-library/jest-dom/dist/extend-expect.js:7:1)
at Object.<anonymous> (node_modules/@testing-library/jest-dom/extend-expect.js:2:1)
FAIL src/tests/06.extra-3.js
● Test suite failed to run
ReferenceError: expect is not defined
at Object.<anonymous> (node_modules/@testing-library/jest-dom/dist/extend-expect.js:7:1)
at Object.<anonymous> (node_modules/@testing-library/jest-dom/extend-expect.js:2:1)
FAIL src/tests/07.js
● Test suite failed to run
ReferenceError: expect is not defined
at Object.<anonymous> (node_modules/@testing-library/jest-dom/dist/extend-expect.js:7:1)
at Object.<anonymous> (node_modules/@testing-library/jest-dom/extend-expect.js:2:1)
FAIL src/tests/06.js
● Test suite failed to run
ReferenceError: expect is not defined
at Object.<anonymous> (node_modules/@testing-library/jest-dom/dist/extend-expect.js:7:1)
at Object.<anonymous> (node_modules/@testing-library/jest-dom/extend-expect.js:2:1)
Test Suites: 5 failed, 5 total
Tests: 0 total
Snapshots: 0 total
Time: 5.546 s
Ran all test suites.
🚨 Failure: Project Validation. Please review the messages above for information on how to troubleshoot and resolve this issue.
Curious if it was related to something installed globally. Nothing jumped out at me.
C:\Source\Learn\EpicReact\react-fundamentals>npm list -g --depth 0
C:\Users\erik.cox\AppData\Roaming\npm
+-- @ionic/[email protected]
+-- @vue/[email protected]
+-- @vue/[email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- UNMET PEER DEPENDENCY [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
npm ERR! peer dep missing: [email protected], required by [email protected]
npm ERR! peer dep missing: webpack@^2.3.0 || ^3.0.0 || ^4.0.0, required by [email protected]
npm ERR! peer dep missing: react-refresh@^0.8.2, required by @pmmmwh/[email protected]