When I run my test (feature and step definitions files are ready), appear some error
Error: Can't walk dependency graph: ENOENT: no such file or directory, lstat
I tried to run the script and by the steps it should open an vebsite by using cucumber with cypress.
Related
Unfortunately, I have been having a strange error for about a few days and it is not resolved at all, in the folder 'src/copy' I have a folder that uses the 'recursive-fs' package and moves static files to the 'dist' folder. But this boilerplate gives an error. The final error is this error and I have no idea what the reason is ?
I am using create-react-app and everything is working as expected. However I would like that when an error occurs it automatically opens the file in question.
I have set up the .env.local file as suggested.
BROWSER=none
REACT_EDITOR=phpstorm
Error
Note that the development build is not optimized.
To create a production build, use npm run build.
Could not open persistStore.js in the editor.
The editor process exited with an error: spawn phpstorm ENOENT.
To set up the editor integration, add something like REACT_EDITOR=atom to the .env.local file in your project folder and restart the development server.
Maybe this is an error with PhpStorm rather than RCA?
I am getting errors running 'gatsby develop' on a Gatsby v2 site after deleting a few old pages.
error UNHANDLED EXCEPTION Error: ENOENT: no such file or directory,
open 'D:\dev\my-gatsby-blog\public\static\d\573\path---
my-blog-post-d-5-f-ef1-Y9bdv2wHaTrcrlb7d2XeeQc6MYw.json'
websocket-manager.js:21 readCachedResults [my-blog]/[gatsby]/dist/utils/websocket-manager.js:21:24
websocket-manager.js:44 getCachedPageData [tutorial-part-four]/[gatsby]/dist/utils/websocket-manager.js:44:13
websocket-manager.js:140 Socket.s.on.path [tutorial-part-four]/[gatsby]/dist/utils/websocket-manager.js:140:26
socket.js:528 [tutorial-part-four]/[socket.io]/lib/socket.js:528:12
next_tick.js:131 _combinedTickCallback internal/process/next_tick.js:131:7
next_tick.js:180 process._tickCallback internal/process/next_tick.js:180:9
My particular site is a blog that shows a list of posts on the index. Not sure if its relevant but the deleted pages are Markdown files resolved with the plugin gatsby-transformer-remark.
I was able to resolve this by deleting the contents of the .cache directory. Using rimraf I added a new script to my package.json to simplify the process in the future.
"cleancache": "rimraf .cache/*"
If you have Gatsby CLI installed, you can now also run
gatsby clean
This will get rid of your .cache folder as well as public/ directories.
https://www.gatsbyjs.org/docs/gatsby-cli/#clean
When a blank Create React App is created and the MidiConvert library is a dependency, it is fine for developing. As soon as a build is started it gives the following error indicating it tries to minify the source file:
$ react-scripts build
Creating an optimized production build...
Failed to compile.
Failed to minify the code from this file:
./node_modules/midiconvert/src/Util.js:20
Read more here: https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-build-fails-to-minify
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
In the package.json from MidiConvert the following entry triggers the build of the source files.
"module": "src/MidiConvert.js",
When removed, the React project builds.
Relevant links:
React project implementing MidiConvert
Travis error build log
Package JSON with erroring line of MidiConvert
After installing protractor and starting selenium webdriver, I have a problem about run config.js file on example folder on protractor: ERROR loading configuration file config.js, as in the below picture:
The config.js file is a default file on example folder. I didn't change anything.
For Protractor 3.2.2, within the Protractor folder there is a folder called example which contains conf.js. You need to cd to the example folder and then run the command protractor conf.js.
This problem is your command cannot find file config.js. Need to run command exactly folder.
It is throwing up the following error in the dialog box
Failed to load extension from : C:\Users....\Appdata\local\Temp\scoped_dir7816_9439\internal.Lodaing of unpacked extensions is disabled by the administrator