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
In the boilerplate code in support/index.js, the file is importing a non existing Module: ./commands
I removed this in my app and webpack errors for that went away.
Is there any reason why this is being imported? If not, I would be happy to submit a pr fix.
In cypress/support/index.js:
Current:
import'./commands';// Import of non existing Module:import'./laravel-commands';import'./laravel-routes';import'./assertions';before(()=>{cy.task('activateCypressEnvFile',{},{log: false});cy.artisan('config:clear',{},{log: false});cy.refreshRoutes();});after(()=>{cy.task('activateLocalEnvFile',{},{log: false});cy.artisan('config:clear',{},{log: false});});
Webpack Errors generated:
Error: Webpack Compilation Error
./cypress/support/index.js
Module not found: Error: Can't resolve './commands' in 'C:\laragon\www\quickinventory\cypress\support'Looked for and couldn't find the file at the following paths:
[C:\laragon\www\quickinventory\cypress\support\commands]
[C:\laragon\www\quickinventory\cypress\support\commands.js]
[C:\laragon\www\quickinventory\cypress\support\commands.json]
[C:\laragon\www\quickinventory\cypress\support\commands.jsx]
[C:\laragon\www\quickinventory\cypress\support\commands.mjs]
[C:\laragon\www\quickinventory\cypress\support\commands.coffee]
The text was updated successfully, but these errors were encountered:
cwray-tech
changed the title
index.js is importing non existing ./commands file
index.js is importing non existing ./commands Module
Feb 10, 2022
In the boilerplate code in support/index.js, the file is importing a non existing Module: ./commands
I removed this in my app and webpack errors for that went away.
Is there any reason why this is being imported? If not, I would be happy to submit a pr fix.
In cypress/support/index.js:
Current:
Webpack Errors generated:
The text was updated successfully, but these errors were encountered: