You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Buen dia estoy teniendo un error, yo estoy migrando de la version 8.7 a la 13.7 pero cuando voy a ejecutar mis cypress me sale el error
The following error originated from your test code, not from Cypress.
Cannot find module 'net'
When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
Cypress could not associate this error to any specific test.
We dynamically generated a new test to display this failure.
-elimine net de las dependencias pero me sigue apareciendo- elimine los packge donde estan las dependencias y las volvi a crear y sigue apareciendo, hice el reinicio de cache de node , tambien cree un archivo webpack.config.js de la siguiente manera
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Buen dia estoy teniendo un error, yo estoy migrando de la version 8.7 a la 13.7 pero cuando voy a ejecutar mis cypress me sale el error
The following error originated from your test code, not from Cypress.
When Cypress detects uncaught errors originating from your test code it will automatically fail the current test.
Cypress could not associate this error to any specific test.
We dynamically generated a new test to display this failure.
-elimine net de las dependencias pero me sigue apareciendo- elimine los packge donde estan las dependencias y las volvi a crear y sigue apareciendo, hice el reinicio de cache de node , tambien cree un archivo webpack.config.js de la siguiente manera
const path = require('path');
module.exports = {
mode: 'development',
resolve: {
fallback: {
"net": false,
},
},
module: {
rules: [
{
test: /.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env'],
},
},
},
},
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'bundle.js',
},
devServer: {
contentBase: './dist',
},
node: {
net: 'empty',
tls: 'empty',
dns: 'empty'
}
};
que otras opciones tengo?
Beta Was this translation helpful? Give feedback.
All reactions