So as the title suggests, the error is '(node:10456) DeprecationWarning: node --debug is deprecated. Please use node --inspect instead. Debugger listening on 127.0.0.1:5858 module.js:472 throw err;' Now I've been googling this for hours, I can't figure it out, I've reinstalled node, I've uninstalled node, restarted and reinstalled it. I've deleted my node_modules in the project, and my global node modules. This project was working ~1 month ago and hasn't been touched since.
So some background / settings information: Windows 10, Node 7.9, npm 4.2 This project is a nightwatch test suite, I can get the test suite to run by running npm run test which executes this script node app.js --config ./Etb/nightwatch.conf.js
Issue is, I need it to run through visual studio 2017 "play button" like it did before. It is in it's own project, within the solution. The project is also a typescript project, so i'm trying to use TS-Node.
We had written down the "script arguments" in our documentation which i've stepped through countless times and something must be different. --config ./Etb/nightwatch.conf.js --exec ./node_modules/.bin/ts-node --./index.ts
however, this works when running through the command prompt.Any advice at all would be much appreciated.
via Ryan Basmajian
No comments:
Post a Comment