React-static: [v6.beta.22] Uncaught TypeError: _typeof is not a function

Created on 28 Sep 2018  路  4Comments  路  Source: react-static/react-static

This error is shown in browser console in development.

Uncaught TypeError: _typeof is not a function
    at Object.<anonymous> (index.js:5241)
    at __webpack_require__ (index.js:30)
    at Object.<anonymous> (index.js:2247)
    at __webpack_require__ (index.js:30)
    at Object.<anonymous> (index.js:1904)
    at __webpack_require__ (index.js:30)
    at Object.<anonymous> (index.js:1730)
    at Object.<anonymous> (index.js:1891)
    at __webpack_require__ (index.js:30)
    at index.js:73

Meanwhile in terminal I see next output:

npm start

> [email protected] start /Users/justfly/projects/drivemoscow-static
> NODE_ENV=development PUBLIC_URL=https://localhost:3000 react-static start

=> Building Routes...
=> [鉁揮 Routes Built (0s)
=> Building Templates
=> [鉁揮 Templates Built (0s)
=> Building App Bundle...
React-Static data hot-loader websocket encountered the following error:
  Error: Request failed with status code 404

  - createError.js:16 createError
    [drivemoscow-static]/[axios]/lib/core/createError.js:16:15

  - settle.js:18 settle
    [drivemoscow-static]/[axios]/lib/core/settle.js:18:12

  - http.js:201 IncomingMessage.handleStreamEnd
    [drivemoscow-static]/[axios]/lib/adapters/http.js:201:11

  - events.js:187 IncomingMessage.emit
    events.js:187:15

  - _stream_readable.js:1092 endReadableNT
    _stream_readable.js:1092:12

  - next_tick.js:63 process._tickCallback
    internal/process/next_tick.js:63:19


=> [鉁揮 Build Complete (23s)
=> [鉁揮 App serving at http://localhost:3000
=> File changed: /tmp/dev-server/index.html
=> Updating build...
=> [鉁揮 Build Updated (0.9s)
bug stale

All 4 comments

Facing the same issue (even when I revert back to v6beta5):

image

We're currently fixing some double processing problems with babel that are likely the cause of this error. Stay tuned.

This issue has been automatically marked as stale because it has not had recent activity in 30 days. It will be closed in another 7 days if no further activity occurs. Thank you for your contributions.

This issue has been closed due to inactivity. If this was done in error, please reopen the issue. Thanks you for your contributions!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pbgms picture pbgms  路  3Comments

PolMrt picture PolMrt  路  3Comments

lottamus picture lottamus  路  3Comments

josephdburdick picture josephdburdick  路  4Comments

tannerlinsley picture tannerlinsley  路  3Comments