This repository was archived by the owner on Mar 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 78
This repository was archived by the owner on Mar 5, 2022. It is now read-only.
sass example doesnt seem to work. #291
Copy link
Copy link
Closed
Labels
Description
When running the tests in cypress-react-unit-test/examples/sass-and-ts I get the error below:
Error: Webpack Compilation Error
/private/tmp/cypress-react-unit-test/support/index.js
Module not found: Error: Can't resolve 'cypress-react-unit-test/dist/hooks' in '/private/tmp/cypress-react-unit-test/support'
resolve 'cypress-react-unit-test/dist/hooks' in '/private/tmp/cypress-react-unit-test/support'
Parsed request is a module
using description file: /private/tmp/cypress-react-unit-test/package.json (relative path: ./support)
aliased with mapping 'cypress-react-unit-test': '/private/tmp/cypress-react-unit-test' to '/private/tmp/cypress-react-unit-test/dist/hooks'
using description file: /private/tmp/cypress-react-unit-test/package.json (relative path: ./support)
Field 'browser' doesn't contain a valid alias configuration
using description file: /private/tmp/cypress-react-unit-test/package.json (relative path: ./dist/hooks)
no extension
Field 'browser' doesn't contain a valid alias configuration
/private/tmp/cypress-react-unit-test/dist/hooks doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/private/tmp/cypress-react-unit-test/dist/hooks.wasm doesn't exist
.mjs
Field 'browser' doesn't contain a valid alias configuration
/private/tmp/cypress-react-unit-test/dist/hooks.mjs doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/private/tmp/cypress-react-unit-test/dist/hooks.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/private/tmp/cypress-react-unit-test/dist/hooks.json doesn't exist
as directory
/private/tmp/cypress-react-unit-test/dist/hooks doesn't exist
[/private/tmp/cypress-react-unit-test/dist/hooks]
[/private/tmp/cypress-react-unit-test/dist/hooks.wasm]
[/private/tmp/cypress-react-unit-test/dist/hooks.mjs]
[/private/tmp/cypress-react-unit-test/dist/hooks.js]
[/private/tmp/cypress-react-unit-test/dist/hooks.json]
@ /private/tmp/cypress-react-unit-test/support/index.js 4:0-45
@ ./cypress/support/index.js
@ multi ./cypress/support/index.js
Am I doing something wrongly?