Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is this? How to use the repo? Where to get the js file with webcomponent to include? #94

Open
truestep opened this issue Oct 31, 2024 · 1 comment

Comments

@truestep
Copy link

What is this? How to use the repo? Where to get the js file with webcomponent to include?

@truestep
Copy link
Author

truestep commented Oct 31, 2024

polymer test --module-resolution=node --npm

also doesn't work and throw errors that everything is missing after npm i

`polymer test --module-resolution=node --npm
error: cli runtime exception: Error: Cannot find module '../build/safe-execute'
Require stack:

  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/commands.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/element-commands.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/element.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/webdriver.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/main.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/browserrunner.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/steps.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/test.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/cli.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/lib/commands/test.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/lib/polymer-cli.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/lib/run.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/bin/polymer.js
    error: Error: Cannot find module '../build/safe-execute'
    Require stack:
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/commands.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/element-commands.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/element.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/webdriver.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/main.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/browserrunner.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/steps.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/test.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner/cli.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/web-component-tester/runner.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/lib/commands/test.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/lib/polymer-cli.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/lib/run.js
  • /home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/bin/polymer.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1070:15)
    at Module._load (node:internal/modules/cjs/loader:923:27)
    at Module.require (node:internal/modules/cjs/loader:1137:19)
    at require (node:internal/modules/helpers:121:18)
    at Object. (/home/andrey/.nvm/versions/node/v20.3.0/lib/node_modules/polymer-cli/node_modules/wd/lib/commands.js:21:27)
    at Module._compile (node:internal/modules/cjs/loader:1255:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
    at Module.load (node:internal/modules/cjs/loader:1113:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1137:19)
    `

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant