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

when i created a project and then load sass ,then npm run serve ,it is error . #9658

Closed
Ariaal opened this Issue Mar 10, 2019 · 3 comments

Comments

Projects
None yet
4 participants
@Ariaal
Copy link

Ariaal commented Mar 10, 2019

Bug Report

ERROR Failed to compile with 1 errors 10:26:53
error in ./src/main.js

Module build failed (from ./node_modules/_babel-loader@8.0.5@babel-loader/lib/index.js):
ReferenceError: Unknown option: .module. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
at throwUnknownError (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\validation\options.js:123:11)
at Object.keys.forEach.key (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\validation\options.js:107:5)
at Array.forEach ()
at validateNested (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\validation\options.js:83:21)
at validate (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\validation\options.js:74:10)
at file (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\config-chain.js:169:34)
at cachedFunction (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\caching.js:33:19)
at buildRootChain (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\config-chain.js:89:27)
at loadPrivatePartialConfig (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\partial.js:85:55)
at Object.loadPartialConfig (C:\Users\春夏\Desktop\sss\node_modules_@babel_core@7.3.4@@babel\core\lib\config\partial.js:110:18)
at Object. (C:\Users\春夏\Desktop\sss\node_modules_babel-loader@8.0.5@babel-loader\lib\index.js:140:26)
at Generator.next ()
at asyncGeneratorStep (C:\Users\春夏\Desktop\sss\node_modules_babel-loader@8.0.5@babel-loader\lib\index.js:3:103)
at _next (C:\Users\春夏\Desktop\sss\node_modules_babel-loader@8.0.5@babel-loader\lib\index.js:5:194)
at C:\Users\春夏\Desktop\sss\node_modules_babel-loader@8.0.5@babel-loader\lib\index.js:5:364
at new Promise ()

@ multi ./node_modules/webpack-dev-server/client?http://172.20.10.3:8080/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

@babel-bot

This comment has been minimized.

Copy link
Collaborator

babel-bot commented Mar 10, 2019

Hey @Ariaal! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.

If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community
that typically always has someone willing to help. You can sign-up here
for an invite.

@loganfsmyth

This comment has been minimized.

Copy link
Member

loganfsmyth commented Mar 10, 2019

Please post your Babel configuration.

@danez

This comment has been minimized.

Copy link
Member

danez commented Mar 17, 2019

Seems your configuration is wrong. Please reopen and fill out the issue template for bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.