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
相關文章
- Thread 1: Fatal error: init(coder:) has not been implementedthreadError
- 4.5.1.2.1 Syntax and Options
- 4.5.1.4.1 Syntax and Options
- BUG記錄-Sharing is only supported for boot loader classes because bootstrap classpath has been appendebootAPP
- Stylus| vue專案中stylus和stylus-loader版本相容問題Vue
- Error: php@8.0 has been disabled because it is a versioned formula! It was disabled on 2023-11-29.ErrorPHPORM
- “setting.xml” has syntax errorsXMLError
- RuntimeError: An attempt has been made to start a new process before the current process hasError
- 匯入 appium 報 SyntaxError: invalid syntaxAPPError
- Uncaught SyntaxError: Identifier 'Geometry' has already been declaredErrorIDE
- 如何解決"Parse error: syntax error"Error
- 【HMS Core】ToolKit,Merchant Service has not been enabled yet
- The app.Configuration 'compile' is obsolete and has been replaced with 'implementation'APPCompile
- 【shell 】syntax error in conditional expressionErrorExpress
- FeignClientSpecification‘ could not be registered. A bean with that name has already been definedclientBean
- Transaction rolled back because it has been marked as rollback-only
- Solaris syntax error: unexpected end of fileError
- Syntax error, unrecognized expression: li[value=]ErrorZedExpress
- has been blocked by CORS policy跨域問題解決BloCCORS跨域
- Caused by: java.lang.IllegalStateException: getWriter() has already been called for this responseJavaException
- java bug2:settings.xml has syntax errorsJavaXMLError
- `jsonb` 報錯 `invalid input syntax for type timestamp with time zone ““JSON
- springcloudconfig訪問gitee報錯:Authentication is required but no CredentialsProvider has been registeredSpringGCCloudGiteeUIIDE
- Python錯誤集錦:for x in range(5) ^ SyntaxError: invalid syntaxPythonError
- 帝國CMS提示parse error syntax error的解決方法Error
- [原創] How to pull code when shared repo commit history has been changedMIT
- 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
- 執行py檔案 File "<stdin>", line 1 SyntaxError: invalid syntaxError
- Fatal error in launcher: Unable to create process using '"'Error
- 如何解決"You have an error in your SQL syntax"ErrorSQL
- java.lang.IllegalStateException: Cannot call sendError() after the response has been committed解讀JavaExceptionErrorMIT
- pygame.error: font not initialized的解決及init()到底幹了什麼GAMErrorZed
- 異常 This application has no explicit mapping for /error so yAPPError
- error: invalid type argument of unary ‘*‘ (have ‘int‘) *__first = __tmp;Error
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)ErrorDeveloper
- error creating overlay mount to invalid argument unbuntu系統Error
- prettier Unexpected closing tag "p". It may happen when the tag has already been closed by another tag.APP