Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

npm run dev errors #11

Open
muarachmann opened this issue Aug 3, 2020 · 9 comments
Open

npm run dev errors #11

muarachmann opened this issue Aug 3, 2020 · 9 comments

Comments

@muarachmann
Copy link

Running npm run dev gives some errors.


> @ dev /Users/muarachmann/Sites/website
> npm run development


> @ development /Users/muarachmann/Sites/website
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

98% after emitting SizeLimitsPlugin

 ERROR  Failed to compile with 3 errors                                                                                          12:22:27 PM

 error  in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx

[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(77,17)
      TS7006: Parameter 'node' implicitly has an 'any' type.

 error  in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx

[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(80,20)
      TS7006: Parameter 'node' implicitly has an 'any' type.

 error  in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx

[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(84,19)
      TS7006: Parameter 'node' implicitly has an 'any' type.

                                                        Asset       Size       Chunks             Chunk Names
                                                   /js/app.js     14 MiB      /js/app  [emitted]  /js/app
                                               /js/backend.js   4.22 MiB  /js/backend  [emitted]  /js/backend
                                          css/application.css   4.38 MiB      /js/app  [emitted]  /js/app
           images/canal2.png?1f5b2089d8269f536e2c9b5a0bdd2c27   3.91 KiB               [emitted]
           images/design.svg?232061a8bb1fe50d0921e99485a69c36   11.6 KiB               [emitted]
           images/dikalo.png?e206a12edd0a2d2c4bbbaf6be3633013   1.44 KiB               [emitted]
            images/error.svg?b74df4239334581b97e179ea1ef34d76   43.8 KiB               [emitted]
         images/feedback.svg?bc93d43299980ed102e397c6bd755f4c   1.67 KiB               [emitted]
       images/gdg-douala.svg?5c3208b4842be82ee82f99f1609d5b89   5.21 KiB               [emitted]
images/goshen-tabernacle.svg?1314058a36995a4b38d39c72bda64b5f   22.9 KiB               [emitted]
         images/html-css.svg?b8c958f959a89400b5040c8a58418d88   5.39 KiB               [emitted]
     images/illustration.svg?3a86caa7424efba4606537542b2835c5   36.6 KiB               [emitted]
       images/iug-douala.svg?d7c0d834d92d4a75a5bc1bdf0318ce81   19.2 KiB               [emitted]
       images/javascript.svg?a5919ba83053a23905eee43b8b7f5faf   1.08 KiB               [emitted]
 images/job-illustration.svg?e6bf72838d7ed2293632be60f229b069   49.9 KiB               [emitted]
            images/kiroo.png?7463af34d970be4f1e10e45fb1bdadb1   3.01 KiB               [emitted]
          images/laravel.svg?a40ca97cf391881cde697f1b68fdc67b   3.38 KiB               [emitted]
    images/mail-campaign.svg?47f13f5924973b864ad3145415b76aa4   86.5 KiB               [emitted]
          images/no-data.svg?7ce60146ff80ee9cc9520f6f111a67c7   5.34 KiB               [emitted]
 images/no-notifications.svg?73b1b8d2e10065fa274859e7aacbca2a   34.3 KiB               [emitted]
              images/php.svg?2fa48981b8d1f4436052ad252a6724f1   2.27 KiB               [emitted]
    images/pondo-creativ.svg?e013ff792ce01e4f80839c3186bd5105   4.25 KiB               [emitted]
          images/preview.png?8ab78133fc9a91f5cb369209235d41f0   1.55 MiB               [emitted]
            images/react.svg?8b3bf4942644d47ca60d50e00a78ce0d    5.8 KiB               [emitted]
            images/slack.svg?8c20c4362fd0546b609e37fb385d5d24    3.3 KiB               [emitted]
           images/stacks.svg?7721fc2a57a97a1b96b2439310ae841c   23.6 KiB               [emitted]
            images/teddy.svg?80b218ab6d129997043ffcf32173694e   10.1 KiB               [emitted]
              images/vue.svg?b5766b15d5d1d1e02b9baabb984ccd01  362 bytes               [emitted]

ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx
./resources/assets/ts/components/Transition.tsx
[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(77,17)
      TS7006: Parameter 'node' implicitly has an 'any' type.

ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx
./resources/assets/ts/components/Transition.tsx
[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(80,20)
      TS7006: Parameter 'node' implicitly has an 'any' type.

ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx
./resources/assets/ts/components/Transition.tsx
[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(84,19)
      TS7006: Parameter 'node' implicitly has an 'any' type.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
@muarachmann
Copy link
Author

@mckenziearts please have a look when you can

@muarachmann
Copy link
Author

muarachmann commented Aug 3, 2020

Changing the "noImplicitAny": true to false seems to work. Cant say why... any ideas -
https://stackoverflow.com/a/52710206/8458744 but temporarily works. As stated hear it is just a workaround

@honorezemagho
Copy link

I got the same error but Arthur told me that it's was coming from my environment.

@honorezemagho
Copy link

How to fix it?

@fabriceyopa
Copy link
Member

Try to remove your "node_modules" and "npm install" again

@honorezemagho
Copy link

honorezemagho commented Aug 28, 2020 via email

@muarachmann
Copy link
Author

I pulled the latest codes and re-ran, this error doesn't appear again

@muarachmann
Copy link
Author

However I get these

ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx
./resources/assets/ts/components/Transition.tsx
[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(77,17)
      TS7006: Parameter 'node' implicitly has an 'any' type.

ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx
./resources/assets/ts/components/Transition.tsx
[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(80,20)
      TS7006: Parameter 'node' implicitly has an 'any' type.

ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx
./resources/assets/ts/components/Transition.tsx
[tsl] ERROR in /Users/muarachmann/Sites/website/resources/assets/ts/components/Transition.tsx(84,19)
      TS7006: Parameter 'node' implicitly has an 'any' type.

should be a react/typescript thing

@honorezemagho
Copy link

ok thanks muarachmann

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

No branches or pull requests

3 participants