'/node_modules' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! offline-docs@1.0.4 server-watch: watchy -kw app.js -i '/\.|/node_modules|/test$' -- offline-docs
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the offline-docs@1.0.4 server-watch script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nelszy\AppData\Roaming\npm-cache_logs\2018-02-25T03_40_15_691Z-debug.log
path.js:28
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at Object.dirname (path.js:725:5)
at Deps.lookupPackage (D:\programming\web development\offline-docs\node_modules\module-deps\index.js:452:29)
at Deps._transform (D:\programming\web development\offline-docs\node_modules\module-deps\index.js:93:10)
at Deps.Transform._read (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_trans form.js:184:10)
at Deps.Transform._write (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_tran sform.js:172:12)
at Labeled.Pipeline._write (D:\programming\web development\offline-docs\node_modules\stream-splicer\index.js:73:22)
at doWrite (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_writable.js:279:12 )
at writeOrBuffer (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_writable.js: 266:5)
at Labeled.Writable.write (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_wri table.js:211:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! offline-docs@1.0.4 watch-js: watchify browser.js -o site/bundle.js -dv
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the offline-docs@1.0.4 watch-js script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Nelszy\AppData\Roaming\npm-cache_logs\2018-02-25T03_40_19_113Z-debug.log
I'm having trouble with this one... somebody please help... thanks:
$ npm run dev
'/node_modules' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 255 npm ERR! offline-docs@1.0.4 server-watch:
watchy -kw app.js -i '/\.|/node_modules|/test$' -- offline-docs
npm ERR! Exit status 255 npm ERR! npm ERR! Failed at the offline-docs@1.0.4 server-watch script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Nelszy\AppData\Roaming\npm-cache_logs\2018-02-25T03_40_15_691Z-debug.log
path.js:28 throw new TypeError('Path must be a string. Received ' + inspect(path)); ^
TypeError: Path must be a string. Received undefined at assertPath (path.js:28:11) at Object.dirname (path.js:725:5) at Deps.lookupPackage (D:\programming\web development\offline-docs\node_modules\module-deps\index.js:452:29) at Deps._transform (D:\programming\web development\offline-docs\node_modules\module-deps\index.js:93:10) at Deps.Transform._read (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_trans form.js:184:10) at Deps.Transform._write (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_tran sform.js:172:12) at Labeled.Pipeline._write (D:\programming\web development\offline-docs\node_modules\stream-splicer\index.js:73:22) at doWrite (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_writable.js:279:12 ) at writeOrBuffer (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_writable.js: 266:5) at Labeled.Writable.write (D:\programming\web development\offline-docs\node_modules\readable-stream\lib_stream_wri table.js:211:11) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! offline-docs@1.0.4 watch-js:
watchify browser.js -o site/bundle.js -dv
npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the offline-docs@1.0.4 watch-js script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\Nelszy\AppData\Roaming\npm-cache_logs\2018-02-25T03_40_19_113Z-debug.log
[Browsersync] Proxying: http:// [Browsersync] Access URLs:
UI External: http://192.168.1.5:3001
[Browsersync] Watching files...