RSG-Group/rsg-group.github.io

App using this package fails to compile

andviane opened this issue · 1 comments

The app using this package works with "npm start" but the attempt to produce the production build ("npm run build") fails with the following error messages:

> react-scripts build

Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file: 

 	/home/sv/catkin_ws/build/npm/node_modules/line-intersection/index.js:1 

Read more here: http://bit.ly/2tRViJ9

As a work around, I have integrated index.js in the application code directly. The provided URL should contain enough information to explain the problem.

Hello @andviane and thanks for reporting this problem.
The line-intersection package was moved to https://github.com/radi-cho/line-intersection but I've opened issue there as well. Check it out here and please provide more detailed information about your environment:

  • OS
  • Node version
  • react-scripts version
  • line-intersection version