Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Unexpected crash! dts-gen -m jsoneditor-react #148

Open
TanelVari opened this issue Dec 23, 2019 · 0 comments
Open

Unexpected crash! dts-gen -m jsoneditor-react #148

TanelVari opened this issue Dec 23, 2019 · 0 comments

Comments

@TanelVari
Copy link

node_modules/jsoneditor-react/es/index.js:1
import React, { Component } from 'react';
       ^^^^^

SyntaxError: Unexpected identifier
    at Module._compile (internal/modules/cjs/loader.js:743:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
    at Module.load (internal/modules/cjs/loader.js:666:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
    at Function.Module._load (internal/modules/cjs/loader.js:598:3)
    at Module.require (internal/modules/cjs/loader.js:705:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.<anonymous> (/Users/tanelvari/.nvm/versions/node/v8.11.3/lib/node_modules/dts-gen/bin/lib/run.js:58:67)
    at Module._compile (internal/modules/cjs/loader.js:799:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant