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

3.0-beta.6 > Create VueJs App > Cannot find module 'fibers' #13057

Open
firewater opened this issue Mar 10, 2024 · 5 comments
Open

3.0-beta.6 > Create VueJs App > Cannot find module 'fibers' #13057

firewater opened this issue Mar 10, 2024 · 5 comments
Labels
Milestone

Comments

@firewater
Copy link

Summary:

I am eager to use Meteor 3.0 so I figured I would test the latest beta version by creating a VueJs app.

meteor run returns:

While loading plugin `vite` from package `jorgenvatle:vite-bundler`:
packages/modules-runtime.js:222:12: Cannot find module 'fibers'

Commands to Reproduce Error:


- npm install -g [email protected]
- meteor create --vue MyApp --release 3.0-beta.6

Meteor Version:

npm list -g --depth=0
/home/vscode/.nvm/versions/node/v20.11.1/lib
├── [email protected]
├── [email protected]
└── [email protected]

Environment:

  • Host OS: Ubuntu 22.04.4 LTS
  • Container: Docker version 25.0.4, build 1a576c5 (Rootless mode)

Full Error Message:

The following error message is returned in the console and at http://localhost:3000/:

meteor run
[[[[[ ~/My/Project/Directory ]]]]]

=> Started proxy.                             
=> Started HMR server.                        
=> Errors prevented startup:                  
   
   While loading plugin `vite` from package `jorgenvatle:vite-bundler`:
   packages/modules-runtime.js:222:12: Cannot find module 'fibers'
   at makeMissingError (packages/modules-runtime.js:222:12)
   at Module.require (packages/modules-runtime.js:241:17)
   at require (packages/modules-runtime.js:258:21)
   at module (packages/promise.js:41:7)
   at fileEvaluate (packages/modules-runtime.js:336:7)
   at Module.require (packages/modules-runtime.js:238:14)
   at require (packages/modules-runtime.js:258:21)
   at packages/promise.js:149:15
   at packages/promise.js:156:3

Really looking forward to the 3.0 release. Keep up the great work!

@StorytellerCZ StorytellerCZ added this to the Release 3.0 milestone Mar 10, 2024
@StorytellerCZ
Copy link
Collaborator

@Grubba27 isn't the vue skeleton Vue 2?

@Grubba27
Copy link
Contributor

Since this PR in Meteor v2.9, Vue 3 is called by --vue command.

Thinking about it, this was a breaking change.

@Grubba27
Copy link
Contributor

From my tests, vue 3 actually works with Meteor v3!

After you create your app, you should run the following:

meteor remove jorgenvatle:vite-bundler  

meteor add jorgenvatle:[email protected]

Meteor, for some reason, gets lost while choosing dependencies while creating a beta app for the 3.x version.
Screenshot 2024-03-11 at 09 41 20

@Grubba27 Grubba27 added the Meteor 3 relates to Meteor 3 label Mar 11, 2024
@firewater
Copy link
Author

@Grubba27 @StorytellerCZ Thank you for the quick reply! Just letting you know that my app is now working thanks to the recommendation provided above. Hopefully this is an easy fix for the devs to implement in the upcoming official 3.0 release.

@Grubba27
Copy link
Contributor

Yes! I think pinning this version should do the trick

jorgenvatle:[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants