Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENOENT on first run #51

Closed
peterennis opened this issue Apr 15, 2018 · 2 comments
Closed

ENOENT on first run #51

peterennis opened this issue Apr 15, 2018 · 2 comments

Comments

@peterennis
Copy link
Contributor

Stencil version: (run npm list @stencil/core from a terminal/cmd prompt and paste output below):

peter@Merry-Christmas MINGW64 /c/ae/aedev/ae-component (master)
$ npm list @stencil/core
my-component@0.0.1 C:\ae\aedev\ae-component
`-- @stencil/core@0.7.22

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Current behavior:
Run twice to work

Expected behavior:
Run once to work

Steps to reproduce:
Using git bash

kick-stencil

Related code:

insert any relevant code here

Other information:
See #28
Windows 10

@eriklharper
Copy link

My issue is similar (I'm on MacOS 10.13.4) except that it still doesn't work when I run npm start a second time. I get this output on my terminal:

^C~/code/eriklharper/stencil-component-starter (master) $ npm start

> my-component@0.0.1 start /Users/Erik/code/eriklharper/stencil-component-starter
> npm run dev


> my-component@0.0.1 dev /Users/Erik/code/eriklharper/stencil-component-starter
> sd concurrent "stencil build --dev --watch" "stencil-dev-server"

[32:20.1]  @stencil/core v0.7.26 👻
[32:20.1]  build, mycomponent, dev mode, started ...
[32:20.1]  compile started ...
[32:26.8]  compile finished in 6.74 s

[ ERROR ]  typescript: node_modules/@types/node/index.d.ts, line: 2381
           Duplicate identifier 'URL'.

   L2380:      values(): IterableIterator<string>;
   L2381:      [Symbol.iterator](): IterableIterator<[string, string]>;

[ ERROR ]  typescript: node_modules/@types/node/index.d.ts, line: 2399
           Duplicate identifier 'URLSearchParams'.

   L2399:      export interface LookupOneOptions extends LookupOptions {
   L2400:          all?: false;

[ ERROR ]  typescript: node_modules/@types/node/index.d.ts, line: 2417
           Cannot export 'URL'. Only local declarations can be exported from a module.

   L2416:      export function lookup(hostname: string, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void): void;
   L2418:      // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.

[ ERROR ]  typescript: node_modules/@types/node/index.d.ts, line: 2417
           Cannot export 'URLSearchParams'. Only local declarations can be exported from a module.

   L2416:      export function lookup(hostname: string, callback: (err: NodeJS.ErrnoException, address: string, family: number) => void): void;
   L2418:      // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime.

[ ERROR ]  typescript: node_modules/typescript/lib/lib.dom.d.ts, line: 13401
           Duplicate identifier 'URL'.

  L13400:  interface URLSearchParams {
  L13402:       * Appends a specified key/value pair as a new search parameter.

[ ERROR ]  typescript: node_modules/typescript/lib/lib.dom.d.ts, line: 13424
           Duplicate identifier 'URLSearchParams'.

  L13424:      set(name: string, value: string): void;

[32:26.9]  build failed, watching for changes... in 6.76 s

@adamdbradley
Copy link
Contributor

This should be fixed in the latest versions, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants