Closed lujiajing1126 closed 7 years ago
Is path
an installed module? If not, you have to use a relative path
import path from './path' for syntax;
I mean here path
is a built-in node stdlib. How can I install that?
Not yet. At the moment the only modules you can import for syntax
must have a 'lang sweet.js'
directive. The remaining module work is being tracked at #633 so I'll close this issue.
something like
import path from 'path' for syntax;
I found a Error while importing modules like
path
Error: ENOENT: no such file or directory, open 'path'