archieml-js icon indicating copy to clipboard operation
archieml-js copied to clipboard

'Using with Google Documents' instructions, error

Open stephaniedavidson opened this issue 5 years ago • 0 comments

following these instructions: https://github.com/newsdev/archieml-js/tree/master#using-with-google-documents

set up google API, installed npm packages, then ran node examples/google_drive.js and I get error in console:

internal/modules/cjs/loader.js:1023
  throw err;
  ^

Error: Cannot find module 'O:\web\aml-test\examples\google_drive.js'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:1020:15)
    at Function.Module._load (internal/modules/cjs/loader.js:890:27)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

the google_drive.js is definitely there in node_modules/archieml/examples/, also node node_modules/examples/google_drive.js doesn't work. I am in the project directory in the terminal. Using Windows and node v14.2.0 and npm 6.14.4

stephaniedavidson avatar Mar 10 '21 15:03 stephaniedavidson