@stemmo wrote:
Hello everybody,
I created a new PWA project running ‘npm init stencil ionic-pwa’. the project is called ‘testpwa’.
When I type the command ‘npm start’ I have some errors:C:\Progetti\ionic\testpwa>npm start
testpwa@0.0.1 start C:\Progetti\ionic\testpwa
stencil build --dev --watch --serve[34:17.7] @stencil/core v0.17.0
[34:17.8] build, app, dev mode, started …
[34:17.9] transpile started …
[34:21.5] transpile finished in 3.62 s
[34:23.1] module map started …
[34:23.1] generate styles started …
[34:24.8] compile global style start …
[34:25.0] compile global style finish in 194 ms
[34:25.0] generate styles finished in 1.95 s
[34:25.8] module map finished in 2.73 s
[34:25.8] generate bundles started …
[34:25.9] generate bundles finished in 57 ms
[34:25.9] generate app files started …
[34:27.6] generate app files finished in 1.67 s[ WARN ] Bundling Warning
Generated an empty bundle[34:29.8] dev server: http://localhost:3333/
[34:29.8] build finished, watching for changes… in 11.99 s[34:31.8] build, app, dev mode, started …
[ ERROR ] TypeScript: node_modules/typescript/lib/lib.es2015.iterable.d.ts:209:10
Duplicate identifier ‘Promise’.L209: interface Promise { }
[ ERROR ] TypeScript: node_modules/typescript/lib/lib.es2015.promise.d.ts:216:12
Duplicate identifier ‘Promise’.L216: declare var Promise: PromiseConstructor;
[ ERROR ] TypeScript: node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:168:10
Duplicate identifier ‘Promise’.L168: interface Promise {
L169: readonly [Symbol.toStringTag]: string;[ ERROR ] TypeScript: node_modules/typescript/lib/lib.es5.d.ts:1389:10
Duplicate identifier ‘Promise’.L1388: /
L1389: interface Promise {
L1390: /*[ ERROR ] TypeScript: …/…/node_modules/@types/es6-promise/index.d.ts:11:14
Duplicate identifier ‘Promise’.L11: declare class Promise<T> implements Thenable<T> { L12: /**
[34:31.8] build failed, watching for changes… in 7 ms
Any help?
Posts: 1
Participants: 1