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

No such file or directory `custom-elements.min.js` #1365

Closed
alrra opened this Issue Oct 3, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@alrra
Contributor

alrra commented Oct 3, 2018

Steps to reproduce:

  • npm i -g hint@3.4.7
  • hint example.com
$ hint example.com
- http://example.com/ downloadedUnhandled rejection promise:
    uri: undefined
    message: ENOENT: no such file or directory, open '/Users/xxxxx/.nvm/versions/node/v10.10.0/lib/node_modules/hint/node_modules/@hint/connector-jsdom/dist/src/polyfills/custom-elements.min.js'
    stack:
Error: ENOENT: no such file or directory, open '/Users/xxxxx/.nvm/versions/node/v10.10.0/lib/node_modules/hint/node_modules/@hint/connector-jsdom/dist/src/polyfills/custom-elements.min.js'
    at Object.openSync (fs.js:436:3)
    at Object.readFileSync (fs.js:341:35)
    at Object.exports.default (/Users/xxxxx/.nvm/versions/node/v10.10.0/lib/node_modules/hint/dist/src/lib/utils/fs/read-file.js:6:26)
    at Object.beforeParse (/Users/xxxxx/.nvm/versions/node/v10.10.0/lib/node_modules/hint/node_modules/@hint/connector-jsdom/dist/src/before-parse.js:11:59)
    at new JSDOM (/Users/xxxxx/.nvm/versions/node/v10.10.0/lib/node_modules/hint/node_modules/jsdom/lib/api.js:41:13)
    at Promise (/Users/xxxxx/.nvm/versions/node/v10.10.0/lib/node_modules/hint/node_modules/@hint/connector-jsdom/dist/src/connector.js:136:27)

Edit: Some npm scripts needed to be updated.

@alrra alrra closed this in f92fe84 Oct 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment