vuejs-todo-single-file-component doesn't run with any nodejs version #5212
Labels
sample: vuejs-todo-single-file-component
Stale
status:wrong-author
type:bug-suspected
Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Disclaimer
Yes
Sample
vuejs-todo-single-file-component
Contributor(s)
Sergei Sergeev, Dimcho Tsanov
What happened?
The sample cannot be started using
gulp serve
- it is displayingError: Cannot find module 'worker_threads'
PS C:\_GIT-Projects\XXXXXXXXXX> gulp serve { Error: Cannot find module 'worker_threads' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object.<anonymous> (C:\_GIT-Projects\XXXXXXXXXX\node_modules\@rushstack\worker-pool\lib\WorkerPool.js:6:26) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) code: 'MODULE_NOT_FOUND' }
Steps to reproduce
npm i
npm isntall gulp -g
gulp serve
Expected behavior
Should run
gulp serve
successfully for debugging in workbenchTarget SharePoint environment
SharePoint Online
Developer environment
Windows
Browsers
What version of Node.js is currently installed on your workstation?
v10.24.1
What version of Node.js is required by the sample?
LTS 10
Paste the results of SPFx doctor
Incompatible
Additional environment details
No response
The text was updated successfully, but these errors were encountered: