0

I tried all this steps to integrate bpmn properties panel in localhost like Integration of Properties panel in localhost.

After this I got Uncaught Error: fs.readFileSync is not a function. How to resolve this error?

Community
  • 1
  • 1
Dipali
  • 11
  • 1
  • 1

2 Answers2

1

do var fs=require('fs') to to use file system module

lx1412
  • 1,160
  • 6
  • 14
0

Maybe you should try again,the maintainer of npm accidentally unpublished the 'fs' package (for a short period of time, but still, what a bummer). http://status.npmjs.org/incidents/dw8cr1lwxkcr

zeropaper
  • 574
  • 6
  • 21