Home > front end >  Js and. Js. What is the map? Is there a link and the vue Npm and NodeJS?
Js and. Js. What is the map? Is there a link and the vue Npm and NodeJS?

Time:09-28

.js and js. The map file is how to produce, feel this code is very strange, because I now want to change the background, no contact with, want to know the vue Npm and NodeJS relationship, if you want to familiar. Js and. Js. The map to learn what technology, have the appropriate document recommended?

CodePudding user response:

What is the directory structure. What kind of tools to open?

CodePudding user response:

Above that there is no need to look, use webstorm or vscode can be open, change the code is mainly under the SRC folder,

CodePudding user response:

. The map is convenient production code compressed positioning problem, is the time to pack, nodejs is a runtime environment, NPM is a tool for management of plug-in package, vue is front-end framework, is also a NPM package, these directories should be you use vue scaffolding to generate, use a text editor can be opened

CodePudding user response:

refer to the second floor XZZFXZ response:
above that there is no need to look, use webstorm or vscode can be open, change the code is mainly under the SRC folder,

I download now vscode opened, don't know how to compile. The map file

CodePudding user response:


This is the screenshot I install NPM, but don't know how to run,

CodePudding user response:

Third floor made it very clear, from the word map, it is a navigation map, you can understand, so js files compressed file is equivalent to a have a lot of the coordinates, such as how many, how many dimensions longitude directly look very hard to understand, and the map file is a detailed description of each point specific attributes, and the relative position of all points

CodePudding user response:

refer to the second floor XZZFXZ response:
above that there is no need to look, use webstorm or vscode can be open, change the code is mainly under the SRC folder,
I don't know how to generate the js and after using the modified code. Js. Map files

CodePudding user response:

refer to 7th floor cqbtgcyy response:
Quote: refer to the second floor XZZFXZ response:

Above that there is no need to look, use webstorm or vscode can be open, change the code is mainly under the SRC folder,
I don't know how to generate the js and after using the modified code. Js. Map files

If is to use vue - built cli project, can run in the project root directory: NPM run build package of the project, the file after the package is this. The map

CodePudding user response:

refer to the eighth floor XZZFXZ response:
Quote: refer to 7th floor cqbtgcyy response:

Quote: refer to the second floor XZZFXZ response:

Above that there is no need to look, use webstorm or vscode can be open, change the code is mainly under the SRC folder,
I don't know how to generate the js and after using the modified code. Js. Map files

If is to use vue - built cli project, can run in the project root directory: NPM run build package of the project, the file after the package is this. The map of

After I follow such an error occurs, if there is something wrong with the code

CodePudding user response:

 
0 info it worked if it ends with ok
1 the verbose cli [
1 the verbose cli 'D: \ \ Program Files \ \ nodejs \ \ node exe',
1 verbose cli 'D: \ \ Program Files \ \ nodejs \ \ node_global \ \ node_modules \ \ NPM \ \ bin \ \ NPM - cli. Js',
1 the verbose cli 'run',
1 the verbose cli 'build'
1 the verbose cli]
2 the info using [email protected]
3 the info using [email protected]
4 verbose run - script [' prebuild ', 'build', 'postbuild]
5 the info lifecycle [email protected] ~ prebuild: [email protected]
6 the info lifecycle [email protected] ~ build: [email protected]
7 verbose lifecycle [email protected] ~ build: unsafe - perm in lifecycle true
8 verbose lifecycle [email protected] ~ build: PATH: D: \ \ Program Files \ nodejs \ node_global \ node_modules/NPM/node_modules/NPM - lifecycle \ node - gyp - bin; D: \ vuestic - admin - master \ node_modules \ bin. C: \ Program Files \ (x86) Common Files \ Oracle \ Java \ javapath; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem; C: \ WINDOWS \ System32 \ WindowsPowerShell \ v1.0 \; C:\WINDOWS\System32\OpenSSH\; D: \ \ Program Files \ nodejs \; D: \ \ Program Files \ nodejs \ node_global; C: \ Users \ song \ AppData \ Local \ Microsoft \ WindowsApps;; D: \ Users \ song \ AppData \ Local \ designed \ Microsoft VS Code \ bin; C: \ Users \ song \ AppData \ Roaming \ NPM
9 verbose lifecycle [email protected] ~ build: CWD: D: \ vuestic - admin - master
10 silly lifecycle [email protected] ~ build: the Args: ['/d/s/c ', 'vue - cli - service build']
11 silly lifecycle [email protected] ~ build: Returned: code: 1 signal: null
12 the info lifecycle [email protected] ~ build: Failed to exec build script
13 verbose stack Error: [email protected] build: ` vue cli - service build `
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. & lt; anonymous> (D: \ \ Program Files \ nodejs \ node_global \ node_modules/NPM/node_modules/NPM - lifecycle \ index js: 332:16)
13 verbose stack at EventEmitter. Emit (events. Js: 311:20)
13 verbose stack at ChildProcess. & lt; anonymous> (D: \ \ Program Files \ nodejs \ node_global \ node_modules/NPM/node_modules/NPM - lifecycle \ lib \ spawn js: 55:14)
13 verbose stack at ChildProcess. Emit (events. Js: 311:20)
13 verbose stack at maybeClose (internal/child_process. Js: 1021:16)
13 verbose stack at the Process. The ChildProcess. _handle. Onexit (internal/child_process. Js: 286:5)
14 verbose pkgid [email protected]
15 verbose CWD D: \ vuestic - admin - master
16 verbose Windows_NT 10.0.17134
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related