frontend-collective / frontend-collective/react-sortable-tree

Error in production enviroment

Open
#345 7 comments 0 reactions 0 assignees View on GitHub
possible bug (need more info) question
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

I use Sortable-tree in my project, works fine in development enviroment, but after running `npm run build` I get the following error in the browser console:

`main.js:910 Uncaught TypeError: n is not a function
at Object. (main.js:910)
at t (main.js:28)
at Object. (main.js:1062)
at t (main.js:28)
at Object. (main.js:1029)
at t (main.js:28)
at main.js:82
at main.js:82
at main.js:2441
at Object../node_modules/react-sortable-tree/dist/main.js (main.js:2441)`

![issue](https://user-images.githubusercontent.com/30853714/41172698-49702f2a-6b1a-11e8-835a-22ec70571a86.png)

this only happen in production enviroment.

![mm](https://user-images.githubusercontent.com/30853714/41172771-844652a0-6b1a-11e8-8bd4-26b2c548f15b.png)

How can i fix that?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.