https://github.com/nuxt/nuxt.js/releases/tag/v2.7.0
After updating to version 2.7 after running "yarn dev" displays the following error:
~~~~
/node_modules/@nuxt/builder/node_modules/chokidar/lib/fsevents-handler.js:57
const stop = fsevents.watch(path, callback);
^
TypeError: fsevents.watch is not a function
at createFSEventsInstance (/Applications/MAMP/htdocs/chatbot-admin/node_modules/@nuxt/builder/node_modules/chokidar/lib/fsevents-handler.js:57:25)
at setFSEventsListener (/Applications/MAMP/htdocs/chatbot-admin/node_modules/@nuxt/builder/node_modules/chokidar/lib/fsevents-handler.js:111:16)
at FsEventsHandler._watchWithFsEvents (/Applications/MAMP/htdocs/chatbot-admin/node_modules/@nuxt/builder/node_modules/chokidar/lib/fsevents-handler.js:296:18)
at initWatch (/Applications/MAMP/htdocs/chatbot-admin/node_modules/@nuxt/builder/node_modules/chokidar/lib/fsevents-handler.js:433:27)
at LOOP (fs.js:1830:14)
at process._tickCallback (internal/process/next_tick.js:61:11)
error Command failed with exit code 1.
~~~~
run on localhost:3000
It is not possible to launch a development environment
Hi. What node.js version do you use?
Same issue here on macOS Mojave with node v12.1.0
/ yarn 1.15.2
.
Cab you please try cleaning up yarn.lock and try again?
It works after deleted the yarn.lock
and yarn
again 馃憤馃徎
nodejs v10.3.0
After upgrading to v12.2.0
, everything is fine
update nodejs to v12.7.0 can make it ,too.
Most helpful comment
nodejs
v10.3.0
After upgrading to
v12.2.0
, everything is fine