Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG] 示例项目无法启动 #1388

Closed
yoke233 opened this issue Nov 27, 2020 · 0 comments
Closed

[BUG] 示例项目无法启动 #1388

yoke233 opened this issue Nov 27, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@yoke233
Copy link

yoke233 commented Nov 27, 2020

bug 描述
remax快速上手 创建的项目无法启动

复现步骤

npx create-remax-app my-app

npm run dev

期望结果
正常启动

复现代码
[请提供一个可复现问题的代码仓库]

版本信息:

  • remax 版本: 2.9.1
  • 小程序端 支付宝小程序
  • 开发环境 win10

其他信息

` ./node_modules/@remax/plugin-error-screen/runtime.js
Module build failed (from ./node_modules/_@[email protected]@@remax/cli/lib/build/webpack/loaders/babel.js):
SyntaxError: D:\xyad\examples\ali-dva\node_modules@remax\plugin-error-screen\runtime.js: Bad character escape sequence (4:37)

2 | import React from 'react';
3 | import { View } from 'remax/one';

4 | import ErrorScreen from 'D:\xyad\examples\ali-dva\node_modules_@[email protected]@@remax\plugin-error-screen\lib\ErrorScreen.development.js';
| ^
5 | import ErrorBoundary from 'D:\xyad\examples\ali-dva\node_modules_@[email protected]@@remax\plugin-error-screen\lib\ErrorBoundary.js';
6 |
7 | export default {
at Object._raise (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:748:17)
at Object.raiseWithData (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:741:17)
at Object.raise (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:735:17)
at Object.readHexChar (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:8900:14)
at Object.readEscapedChar (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:8819:29)
at Object.readString (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:8719:21)
at Object.getTokenFromCode (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:8363:14)
at Object.getTokenFromCode (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:4791:18)
at Object.nextToken (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:7890:12)
at Object.next (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:7815:10)
at Object.eat (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:7820:12)
at Object.eatContextual (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:9059:44)
at Object.expectContextual (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:9063:15)
at Object.parseImport (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:13079:12)
at Object.parseStatementContent (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:11750:27)
at Object.parseStatement (D:\xyad\examples\ali-dva\node_modules_@[email protected]@@babel\parser\lib\index.js:11650:17)
@ ./node_modules/@remax/apply-runtime-options.js 3:37-85
@ multi @remax/apply-runtime-options ./src/app.entry.js`

@yoke233 yoke233 added the bug Something isn't working label Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant