helgoland
helgoland copied to clipboard
npm run start:complete gives errors
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 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?
@dirk-ecker before that u have to run npm install then npm run build:complete then that coommand Does it still gives error