plasmo icon indicating copy to clipboard operation
plasmo copied to clipboard

[BUG] Unexpected Token when I create plasmo

Open cif2cif opened this issue 2 years ago • 0 comments

What happened?

When I execute 'pnpm create plasmo' y get this error:

SyntaxError: Unexpected token '?' at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

Any idea regarding how to fix it?

Thank you

Version

Latest

What OS are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Relevant log output

pnpm create plasmo --no-hoist
.../share/pnpm/store/v3/tmp/dlx-162332   |   +2 +
.../share/pnpm/store/v3/tmp/dlx-162332   | Progress: resolved 2, reused 2, downloaded 0, added 2, done
file:///home/user/.local/share/pnpm/store/v3/tmp/dlx-162332/node_modules/.pnpm/[email protected]/node_modules/create-plasmo/dist/index.js:23
  `):"",this.name="UnsubscriptionError",this.errors=r}})});var mr=l(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});Al.arrRemove=void 0;function YY(t,e){if(t){var r=t.indexOf(e);0<=r&&t.splice(r,1)}}Al.arrRemove=YY});var dt=l(st=>{"use strict";var 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
....
SyntaxError: Unexpected token '?'
    at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)

(OPTIONAL) Contribution

  • [ ] I would like to fix this BUG via a PR

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I checked the current issues for duplicate problems.

cif2cif avatar Apr 05 '24 11:04 cif2cif