You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I want to congratulate you, for such a great idea on package management, I saw your post on reddit an immediately started to play around with heritage. I'm writing a post on import maps and included a section dedicated to heritage.
As the title says the installation of es-module-shims fails, this is the only dependency I've installed that give me problems.
I'm working with node version v14.5.0 and yarn
I'm doing the following
npx heritage add es-module-shims
Which trows the error
Heritage Package Manager
Installing [email protected] from pika registry.
(node:18925) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token (1:3)
at Parser.pp$4.raise (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:2927:15)
at Parser.pp.unexpected (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:698:10)
at Parser.pp.semicolon (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:675:66)
at Parser.pp$1.parseExpressionStatement (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:1154:10)
at Parser.pp$1.parseStatement (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:889:26)
at Parser.pp$1.parseTopLevel (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:755:23)
at Parser.parse (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:555:17)
at Function.parse (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:578:37)
at Object.parse (/media/diego/Windows/Users/diego/Documents/Web Development/WebComponents/heritage/node_modules/acorn/dist/acorn.js:5143:19)
at detective (file:///media/diego/Windows/Users/diego/Documents/Web%20Development/WebComponents/heritage/node_modules/@eliaspourquoi/heritage/src/walker.js:76:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:18925) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:18925) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Any hints on why it might be failing?
Has it happened to you?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi @nestarz
First I want to congratulate you, for such a great idea on package management, I saw your post on reddit an immediately started to play around with heritage. I'm writing a post on import maps and included a section dedicated to heritage.
As the title says the installation of
es-module-shims
fails, this is the only dependency I've installed that give me problems.I'm working with
node
versionv14.5.0
andyarn
I'm doing the following
npx heritage add es-module-shims
Which trows the error
Any hints on why it might be failing?
Has it happened to you?
Thanks in advance.
The text was updated successfully, but these errors were encountered: