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
npm 10.2.4
(tried with older versions of node and npm, too)
Reproduce
npm init stencil
Choose app [community]. Project is created.
Change directory to project.
npm install
npm start. Browser starts. Transpile and other activity status displayed. Then error message "An index signature parameter type must be either 'string' or 'number'" along with the babel details shown above are displayed. Alos, see the same error message in the console as well as "build failed, watching for changes"
The text was updated successfully, but these errors were encountered:
Just to rewrite the previous (excellent) answer more explicitly,
You may want to add both of the following within package.json to give more flexibility (resolutions works with yarn, overrides works with npm, feel free to delete as it suits you)
Receiving the above error message after running npm start. Specifically, doesn't like ./node_modules/@types/babel__traverse/index.d.ts:
// this is good enough for non-visitor traverse options e.g.
noScope
| [k:
${string}\|${string}
]: VisitNode<S, Node>;| };
Environment
(tried with older versions of node and npm, too)
Reproduce
The text was updated successfully, but these errors were encountered: