52North / helgoland

Visual Exploration and Analysis of Sensor Web Data
Apache License 2.0
57 stars 45 forks source link

npm run start:complete gives errors #54

Open dirk-ecker opened 3 years ago

dirk-ecker commented 3 years ago

Problem

npm run start:complete stops with

ERROR in ./node_modules/plotly.js/node_modules/image-size/lib/index.js
Module not found: Error: Can't resolve 'fs' in '/home/ecker/data/projects/helgoland/node_modules/plotly.js/node_modules/image-size/lib'
ERROR in ./node_modules/plotly.js/node_modules/image-size/lib/types/tiff.js
Module not found: Error: Can't resolve 'fs' in '/home/ecker/data/projects/helgoland/node_modules/plotly.js/node_modules/image-size/lib/types'

npm run start works as expected.

Environment

OS: Linux Mint node v14.13.1 npm 6.14.8

branch: develop

ktsrivastava29 commented 2 years ago

@dirk-ecker I see it's been a few years, so were you able to resolve this issue? I'm facing a similar problem could you suggest something?

shubhankar-mern commented 1 year ago

@dirk-ecker before that u have to run npm install then npm run build:complete then that coommand Does it still gives error