Hi, I'm wishing to add some npm libraries to my EFS code to help with some tasks.
I created a node.js project and added the libraries with npm install ...
Does anybody know how I can then import the npm library into my EFS study?
I have tried
which gives the error
I have also tried
which gives the error
So is using npm libraries even possible within EFS studies? and if so what is the proper way to import the library?
Thanks
I created a node.js project and added the libraries with npm install ...
Does anybody know how I can then import the npm library into my EFS study?
I have tried
PHP Code:
import { Observable } from '...;
import declarations may only appear at top level of a module
PHP Code:
var Observable = require('...');
require is not defined
Thanks
Comment