Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using an
報錯資訊如下:
Syntax Error: ValidationError: Invalid options object. Stylus Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'preferPathResolver'. These properties are valid:
object { stylusOptions?, sourceMap?, webpackImporter?, additionalData? }
原因是安裝的stylus是最新版本的,網上的資訊說換一個版本就可以解決。於是乎安裝下面的版本
npm install stylus-loader@3.0.2
相關文章
- An unexpected error has been detected by Java Runtime EnvironmentErrorJava
- Invalid configuration object webpack dev server has been initialisedObjectWebdevServer
- Thread 1: Fatal error: init(coder:) has not been implementedthreadError
- Stylus| vue專案中stylus和stylus-loader版本相容問題Vue
- 資料庫安裝An unexpected error has been detected by HotSpot Virtual Machine資料庫ErrorHotSpotMac
- getOutputStream() has already been called
- BUG記錄-Sharing is only supported for boot loader classes because bootstrap classpath has been appendebootAPP
- “setting.xml” has syntax errorsXMLError
- JIRA startup failed, JIRA has been locked.AI
- InnoDB Plugin has been upgraded to version 1.0.8Plugin
- 匯入 appium 報 SyntaxError: invalid syntaxAPPError
- RuntimeError: An attempt has been made to start a new process before the current process hasError
- Uncaught SyntaxError: Identifier 'Geometry' has already been declaredErrorIDE
- 【HMS Core】ToolKit,Merchant Service has not been enabled yet
- Transaction rolled back because it has been marked as rollback-only
- Syntax error, unrecognized expression: li[value=]ErrorZedExpress
- 【shell 】syntax error in conditional expressionErrorExpress
- syntax error near unexpected token `Error
- exp tables sh: Syntax error: `(' is not expectedError
- has been blocked by CORS policy跨域問題解決BloCCORS跨域
- java.lang.IllegalStateException: getOutputStream() has already been called for this responseJavaException
- ORA-04068: existing state of packages has been discardedPackage
- A significant part of sql server process memory has been paged outNifiSQLServer
- How to check whether the current database in using Oracle optionsDatabaseOracle
- Solaris syntax error: unexpected end of fileError
- Oracle安裝報錯syntax errorOracleError
- java bug2:settings.xml has syntax errorsJavaXMLError
- Caused by: java.lang.IllegalStateException: getWriter() has already been called for this responseJavaException
- An out of memory error has occurred.Error
- 怎麼會出現 Cannot forward after response has been committed???ForwardMIT
- Python錯誤集錦:for x in range(5) ^ SyntaxError: invalid syntaxPythonError
- line 10:syntax error: unexpected end of fileError
- How To Retry Multiple Errored Approval Workflow Processes After A Fix Or Patch Has Been ImplementedErrorAPP
- PHP Warning: exec() has been disabled for security 問題解決辦法PHP
- The app.Configuration 'compile' is obsolete and has been replaced with 'implementation'APPCompile
- java.lang.IllegalStateException: getOutputStream() has already been called for this response解決方案JavaException
- EBS R12 - The system has not been taken off maintenance mode completely.AINaN
- /dev/root filesystem full-unable to log into server-This thread has been closeddevServerthread