when I installed tailwind, at first thre were 3 problem (unknown #tailwind rule) I fixed these problem by installing postcss extention but after that . one problem created that is (Problems loading reference 'https://json.schemastore.org/package': Unable to load schema from 'https://json.schemastore.org/package': connect ECONNREFUSED 127.0.0.1:58221.) . how can fix this problem ?
I try to fix this problem untill start my tailwind project without any problem
Related
Out of nowhere, the following errors appeared while I was trying to run yarn build on my windows machine
Failed to load plugin 'react' declared in 'BaseConfig » C:\builds\caseIsNotTheIssue\clients\react-client-app\node_modules\eslint-config-react-app\index.js': Cannot find module '../internals/a-callable'
I have tried the following:
Delete node_modules folder
Delete yarn.lock`
Update various plugins but it didn't change a thing
Update Node versions
Removing eslintConfig from package.json
Checking path upper/lower case
Nothing of the above-changed anything :|
Any idea why this error appeared and how can I try and fix it?
I have the weirdest problem I've ever seen with npm where in the middle of running an angular ng serve, packages from both node and for angular will randomly go missing. In the middle of a save, the project will suddenly not recompile, and will complain about a missing module. Each time it has been different but so far I have had:
Error: ENOENT: no such file or directory, open '.../node_modules/core-js/internals/hidden-keys.js'
Module not found: Error: Can't resolve '../internals/is-pure' in '/.../node_modules/#angular-devkit/build-angular/node_modules/core-js/internals'
An unhandled exception occurred: Cannot find module './internal/streams/stream
An unhandled exception occurred: Cannot find module '/.../node_modules/minipass-collect/node_modules/minipass/index.js'.
Please verify that the package.json has a valid "main" entry
These have just been errors from the last few days, but issues like this has been happening all. to the point where I need to delete node_modules and reinstall everything via npm at least once a day. I'm thinking the error has more to do with node or NPM than with my Angular set up, as some of these missing packages appear to be node core packages.
I've already tried reinstalling npm globally via npm install -g npm and it hasn't helped anything. I'm afraid that I'm going to have to just reinstall node completely.
Any help would be appreciated, thank you.
EDIT: upon further debugging, I'm noticing that the modules missing are always from #angular-devkit/build-angular/node_modules/core-js/modules. In addition to losing random modules like 'is-pure', the app will also randomly recompile many times when running ng serve
I figured out what was going on, if anyone in the future has the same problem. Turns out the answer has nothing to do with me botching my npm config. I didn't realize that on new Macbooks, any directory in the desktop is automatically managed by iCloud. At some point, probably an older version of the code before I migrated to Angular 9 was syncing the old code into my project. I was able to resolve this issue by changing the name of the parent directory where my project lived from filename to filename.nosync. adding '.nosync' causes iCloud to ignore syncing for whatever is in that file. I know I should have caught this, but hopefully this will help any mac users in the future who are experiencing similar problems.
I created a vue project on my local computer then I tried to put it in my work computers (we have a closed server) but then the project does not run properly both the compile (after runing npm run build) and uncompile version.
The error I get in the uncompile version is in a file name app.js "
Uncaught SyntaxError unexpected token ...
" the error in line 27239 the line is this
...Object(vuex_WEBPACK_IMPORTED_MODULE_0__["mapActions"])(['actionName'])
in the compile version i get two errors of "Uncaught SyntaxError
unexpected token ..." in two files chunk-vendors.261c1333.js ,
app.195dacfc.js
after remove the reference to the mapActions this go for the next file and tell me there is a error syntax in any vuex elements mapState ...
I tried to reinstall the project , rebring the project from my computer , check the project in my project (works fine).
tried to install on other computers in my companay.
tried to remove this import from the project but the i am getting another reference to error in the project this time on ...mapState(['stateName'])
...Object(vuex_WEBPACK_IMPORTED_MODULE_0__["mapActions"])(['actionName'])
...mapState(['stateName']) //show error here in this component
I need to find a way to make it posible for vuex to work on my project I think this is the problem.
So i solved the problem. The issue was that my vue cli version was 2.9.6 and not 3.
So i updated the vue cli version then created a new project with the new cli.
Then moved all the fukes to the new project and it's worked.
I worked a lot on my JHipster project. After 3 weeks I packaged the project again and tried to run the war.
The war is running but the problem is that there is a problem with the frontend. It shows the Hipster error "An error has occured :-(...".
The console logs:
Uncaught TypeError: Cannot read property 'concat' of undefined
at Module.503
I'm just confused because when I run npm start, everything works. I didn't change the webpack or package.json. I'm using the newest JH version.
I solved my issue. We are using index files in Angular. The order of the exports was not correct. We exported the module first and the module tried to access data from the index which was not exported at this time.
Hope I could help you.
I am current using mean.io as development framework of my application and have been using growlNotifications plug-in for certain time and it works perfect on both server and client side.
while after some coding commit (does not affect the plug-in), the following error appear on the production server:
Uncaught Error: [$injector:modulerr] Failed to instantiate module acleague due to:
Error: [$injector:modulerr] Failed to instantiate module growlNotifications due to:
Error: [$injector:nomod] Module 'growlNotifications' is not available! You either...<omitted>...3)
but it won't have any problem running on local. I ensure that the bower install work perfectly on production server and i did nth in the grunt file.
Could anyone help me or even give me some hints to solve this problem? Thanks a lot!
As I was set the bower component as latest, the production server will run the bower update command to get the latest one while local does not.
So I upgraded the plugin and run it on both sides, it works now.