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 react-native-modal-overlay #122

Open
niklassaers opened this issue Dec 5, 2018 · 0 comments
Open

Unexpected crash: dts-gen -m react-native-modal-overlay #122

niklassaers opened this issue Dec 5, 2018 · 0 comments

Comments

@niklassaers
Copy link

$ npm install -g dts-gen react-native-modal-overlay
$ dts-gen -m react-native-modal-overlay
Unexpected crash! Please log a bug with the commandline you specified.
.../.nvm/versions/node/v8.11.1/lib/node_modules/react-native-modal-overlay/index.js:1
(function (exports, require, module, __filename, __dirname) { import React from 'react';
^^^^^^

SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (.../.nvm/versions/node/v8.11.1/lib/node_modules/dts-gen/bin/lib/run.js:57:67)

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