Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vuejs-todo-single-file-component doesn't run with any nodejs version #5212

Closed
1 of 9 tasks
martinjurran opened this issue Aug 20, 2024 · 3 comments
Closed
1 of 9 tasks
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

Comments

@martinjurran
Copy link

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 displaying Error: 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

  1. Download sample
  2. Use node v10.24.1
  3. Run npm i
  4. Run npm isntall gulp -g
  5. Run gulp serve

Expected behavior

Should run gulp serve successfully for debugging in workbench

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

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

@martinjurran martinjurran added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label Aug 20, 2024
Copy link

github-actions bot commented Sep 1, 2024

Wrong or missing contributor @mentions

Thank you for your submission, but you appear to have forgotten to @mention the sample author(s).

To help increase your chances of getting assistance from the original authors of the sample, you should make sure to @mention the actual authors (and not the repository maintainers).

Make sure to include the @ character before the GitHub username so that the author(s) get notified; using the person's name is not going to work.

Please note that the sample authors will not get notified about this issue unless you update this issue accordingly.

You can find the author(s) of each sample in the sample's README.md, under Solution.

We'll automatically close this issue in 7 days unless you update the issue.

For more information on how to create a good issue, refer to our wiki for more information: How to Create Good Issues

Copy link

github-actions bot commented Sep 4, 2024

Please note that this issue will be closed within 24 hours because it has been flagged as having invalid authors. Read the guidance and @mention the authors so they can respond to you.

@github-actions github-actions bot added the Stale label Sep 4, 2024
Copy link

github-actions bot commented Sep 5, 2024

Closing this issue due to lack of response. Feel free to open a new issue, but make sure to follow the guidance on how to create good issues and @mention the authors so they can respond to you.

@github-actions github-actions bot closed this as completed Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants