Open dalamar66 opened 7 years ago
I'm getting the following errors when starting with npm:
[1] [1] > primeng-quickstart@1.0.0-SNAPSHOT lite D:\workspace_angular2\JSweet\jsweet-primeng-quickstart\jsweet-primeng-quickstart [1] > lite-server [1] [0] [0] > primeng-quickstart@1.0.0-SNAPSHOT tsc:w D:\workspace_angular2\JSweet\jsweet-primeng-quickstart\jsweet-primeng-quickstart [0] > tsc -w [0] [1] Did not detect a bs-config.json or bs-config.js override file. Using lite-server defaults... [1] browser-sync config [1] { injectChanges: false, [1] files: [ './*/.{html,htm,css,js}' ], [1] watchOptions: { ignored: 'node_modules' }, [1] server: { baseDir: './', middleware: [ [Function], [Function] ] } } [0] node_modules/primeng/components/accordion/accordion.d.ts(27,14): error TS1005: '=' expected. [0] node_modules/primeng/components/accordion/accordion.d.ts(27,28): error TS1005: ';' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(51,14): error TS1005: '=' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(51,30): error TS1005: ';' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(52,14): error TS1005: '=' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(52,33): error TS1005: ';' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(53,14): error TS1005: '=' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(53,24): error TS1005: ';' expected. [0] node_modules/primeng/components/chips/chips.d.ts(32,14): error TS1005: '=' expected. [0] node_modules/primeng/components/chips/chips.d.ts(32,22): error TS1005: ';' expected. [0] node_modules/primeng/components/datatable/datatable.d.ts(180,14): error TS1005: '=' expected. [0] node_modules/primeng/components/datatable/datatable.d.ts(180,25): error TS1005: ';' expected.
bs-config.json
bs-config.js
Any clue?
npm: 4..05. node: 4.4.4 TSC: 2.0.10
I solved this problem changing typedscritp's version to 2.0.0 on package.json. "typescript" = "~2.0.0"
"typescript" = "~2.0.0"
I'm getting the following errors when starting with npm:
[1] [1] > primeng-quickstart@1.0.0-SNAPSHOT lite D:\workspace_angular2\JSweet\jsweet-primeng-quickstart\jsweet-primeng-quickstart [1] > lite-server [1] [0] [0] > primeng-quickstart@1.0.0-SNAPSHOT tsc:w D:\workspace_angular2\JSweet\jsweet-primeng-quickstart\jsweet-primeng-quickstart [0] > tsc -w [0] [1] Did not detect a
bs-config.json
orbs-config.js
override file. Using lite-server defaults... [1] browser-sync config [1] { injectChanges: false, [1] files: [ './*/.{html,htm,css,js}' ], [1] watchOptions: { ignored: 'node_modules' }, [1] server: { baseDir: './', middleware: [ [Function], [Function] ] } } [0] node_modules/primeng/components/accordion/accordion.d.ts(27,14): error TS1005: '=' expected. [0] node_modules/primeng/components/accordion/accordion.d.ts(27,28): error TS1005: ';' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(51,14): error TS1005: '=' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(51,30): error TS1005: ';' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(52,14): error TS1005: '=' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(52,33): error TS1005: ';' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(53,14): error TS1005: '=' expected. [0] node_modules/primeng/components/carousel/carousel.d.ts(53,24): error TS1005: ';' expected. [0] node_modules/primeng/components/chips/chips.d.ts(32,14): error TS1005: '=' expected. [0] node_modules/primeng/components/chips/chips.d.ts(32,22): error TS1005: ';' expected. [0] node_modules/primeng/components/datatable/datatable.d.ts(180,14): error TS1005: '=' expected. [0] node_modules/primeng/components/datatable/datatable.d.ts(180,25): error TS1005: ';' expected.Any clue?
npm: 4..05. node: 4.4.4 TSC: 2.0.10