-
Notifications
You must be signed in to change notification settings - Fork 213
Unknown file extension ".CMD" #241
Comments
Hi, it may be a node/npm installation issue but hard to debug from here. Can you give more details about your current setup? Please run |
Hey, there you go System: Thanks, I tried installing the packages separetely in different folders with npm install and yarn install and running it with the yarn or npm in each directory, but the error was always the same. |
I'm experiencing this same error on a Windows laptop after executing The program prints the Kitty Items has started in multicolor and then it crashes printing these logs: C:\Users\vr1.pm2\pm2.log last 15 lines:
|
I'm getting the same issues... anyone find the answer? Maybe port issues? |
OMG. There is no answer for this critic error. I took same error but there is no solution for 2 months. |
As a workaround , you can launch api and web manually. ( after contract is deployed ) For Testnet:
For Emulator
|
I'm getting the following error when trying to input the above commands.
I've typed it in manually as well, which still gives an error. Has anyone had success with this? |
@AttackOnSight updated the comment, double dash merged somehow, can you try again? |
@bluesign Thank you for the help. Everything seems to work fine for this issue now with the updated commands. Just a tip for anyone else who might come across this later issue, it seems like the Opera Crypto Browser is having some trouble when minting as an Admin (it just loops without creating the NFT), but switching to Firefox solved that issue. |
@bluesign sorry for the reping, hopefully you can help me with this error when trying to launch the API for emulator, I am getting this error on the console.
The error is displayed on localhost:3001 as:
|
That is because pm2 can not recognize the 'npm.cmd' command, referring to here. |
Issue should be resolved here #268 |
I’m running into this issue when running “npm run dev:emulator” in main directory of the https://github.com/onflow/kitty-items repository after running ‘npm install’:
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".CMD" for C:\USERS\30407792\CODE\FLOW\2\KITTY-ITEMS\NODE_MODULES.BIN\NPM.CMD
2|web | at Loader.defaultGetFormat [as _getFormat] (internal/modules/esm/get_format.js:71:15)
2|web | at Loader.getFormat (internal/modules/esm/loader.js:104:42)
2|web | at Loader.getModuleJob (internal/modules/esm/loader.js:242:31)
2|web | at async Loader.import (internal/modules/esm/loader.js:176:17) {
2|web | code: 'ERR_UNKNOWN_FILE_EXTENSION'
Thanks in advance
The text was updated successfully, but these errors were encountered: