helgoland icon indicating copy to clipboard operation
helgoland copied to clipboard

npm run start:complete gives errors

Open dirk-ecker opened this issue 4 years ago • 2 comments

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

dirk-ecker avatar Oct 13 '20 13:10 dirk-ecker

@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?

ktsrivastava29 avatar Feb 12 '22 11:02 ktsrivastava29

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

shubhankar-mern avatar Apr 30 '23 07:04 shubhankar-mern