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

@Babel/Runtime causes an error with webpack #190

Open
rosunad opened this issue Jun 21, 2018 · 1 comment
Open

@Babel/Runtime causes an error with webpack #190

rosunad opened this issue Jun 21, 2018 · 1 comment

Comments

@rosunad
Copy link

rosunad commented Jun 21, 2018

Following the tutorial (https://angular-meteor.com/tutorials/whatsapp2/ionic/setup) I'm facing a problem that I'm stuck with.

When I add at meteor server, the next time I run 'ionic serve' I get an error about webpack.

Meteor version 1.6.1.3.

This is the error that give me Meteor:

Error: The @babel/runtime npm package could not be found in your node_modules
W20180620-13:17:22.858(2)? (STDERR) directory. Please run the following command to install it:
W20180620-13:17:22.858(2)? (STDERR)
W20180620-13:17:22.858(2)? (STDERR)   meteor npm install --save @babel/runtime

After add , 'ionic serve' give me:

transpile started ...
There was an error in config file "/home/rosunad/projects/protocoloMeteor/webpack.config.js". Using defaults instead.
{ Error: Cannot find module 'webpack'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/rosunad/projects/protocoloMeteor/webpack.config.js:11:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3) code: 'MODULE_NOT_FOUND' }
[13:33:45]  typescript: node_modules/@types/meteor/mongo.d.ts, line: 49
            ';' expected.

      L48:  $all?: T[],
      L49:  $elemMatch?: T extends {} ? Query<T> : FieldExpression<T>,
      L50:  $size?: number,

I've created a Github repo, the last commit is just before you need to import

https://github.com/rosunad/protocoloMeteor

@rosunad
Copy link
Author

rosunad commented Jun 25, 2018

Same as the resolved issue: Urigo/angular-meteor#1924

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

No branches or pull requests

1 participant